This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54888] GCC with -Os is faster than -O3 on some AVR code
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Oct 2012 20:40:45 +0000
- Subject: [Bug target/54888] GCC with -Os is faster than -O3 on some AVR code
- Auto-submitted: auto-generated
- References: <bug-54888-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54888
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |avr
Priority|P3 |P4
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-10-21
Component|c |target
Ever Confirmed|0 |1
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-10-21 20:40:45 UTC ---
atxmega128d3 is not supported by avr-gcc, neither in 4.3 nor in 4.4 nor 4.5 nor
4.6. Please report to the respective bug tracker, obviously some private
toolchain port.
Compiling with a current compiler that supports ATxmega128D3 (4.7 or newer)
stops compilation with errors.
And I actually don't understand teh issue: Optimizing for size does not require
to produce slow code. The code may run fast.
If your program relies on slow executable code, the program is incorrect.