LWN.net Logo

Is this an useful optimization ??

Is this an useful optimization ??

Posted Apr 18, 2008 22:29 UTC (Fri) by nix (subscriber, #2304)
In reply to: Is this an useful optimization ?? by mikov
Parent article: GCC and pointer overflows

That's equally useful for pointer arithmetic. Think arrays, strings, 
pointer walks, even things like Floyd's algorithm (smart optimizers can 
even spot the relationship between the tortoise and the hare: allowing for 
the hare to wrap around would ruin that).


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds