[Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 14 07:53:00 GMT 2011


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.



More information about the Gcc-bugs mailing list