This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target
- 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: Thu, 14 Jul 2011 07:53:23 +0000
- Subject: [Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target
- Auto-submitted: auto-generated
- References: <bug-43746-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43746
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.14 07:52:52
CC| |gjl at gcc dot gnu.org
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-14 07:52:52 UTC ---
Set the status to NEW.
The above patch fixes constant merging for constants in .rodata which is mapped
into RAM for AVR.
To make it work for .progmem (data in Flash) requires a seperate patch.