[Bug target/54888] GCC with -Os is faster than -O3 on some AVR code
mojo at world3 dot net
gcc-bugzilla@gcc.gnu.org
Mon Oct 22 12:41:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54888
--- Comment #3 from mojo at world3 dot net 2012-10-22 12:40:57 UTC ---
(In reply to comment #2)
> And I actually don't understand teh issue: Optimizing for size does not require
> to produce slow code. The code may run fast.
-O3 is supposed to produce the fastest possible code, but it doesn't. -Os is
faster. At the very least the two should be equal.
In other words -O3 is broken.
More information about the Gcc-bugs
mailing list