This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32871] [avr] Bad optimisation - gcc is pushing too many registers
- From: "eric dot weddington at atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Feb 2008 02:45:09 -0000
- Subject: [Bug target/32871] [avr] Bad optimisation - gcc is pushing too many registers
- References: <bug-32871-14897@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from eric dot weddington at atmel dot com 2008-02-19 02:45 -------
Confirmed. 4.2.2 produces unnecessary pushes and pops. 4.3.0 causes worse code
than 4.2.x and adds unnecessary moves. Adding const or pure function attributes
do not seem to help in 4.3.0.
--
eric dot weddington at atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization
Known to fail| |4.2.1 4.2.2 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2008-02-19 02:45:07
date| |
Summary|Bad optimisation - Gcc is |[avr] Bad optimisation - gcc
|pushing too many registers |is pushing too many
| |registers
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32871