[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
Mon Sep 12 11:00: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
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-12 10:16:25 UTC ---
Closed as fixed for 4.7 Milestone.
Initially I intended to add a -fprogmem-sections command line option that works
similar but independent to -fdata-section. That way data sections could be
used and strings in progmem merged. However, I did not find a straight forward
way without cluttering avr BE with lots of code from varasm.c. Thus, for now,
there is no -fprogmem-sections, i.e. progmem-sections are in sync with
data-sections and you have to decide wether you prefer string merging or fine
grained sections.
More information about the Gcc-bugs
mailing list