-fmerge-all-constants and –fmerge-constants don’t work at AVR
target.
Example:
const char text1[] PROGMEM=”Test”;
const char text2[] PROGMEM=”Test”;

will still produce duplicated “Test” string in generated code.


-- 
           Summary: -fmerge-constants and -fmerge-all-constants don't work
                    at AVR target
           Product: gcc
           Version: 4.3.5
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tfrancuz at mp dot pl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43746

Reply via email to