[Bug target/14047] [3.4/3.5 Regression] __progmem__ attribute doesn't work
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 1 02:00:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-03-01 02:00 -------
AVR is not a primary platform, so I have postponed this until 3.4.1.
The patch here is not quite right. I believe a correct patch would be to modify
avr_insert_attributes to use
avr_progrmem_p (node) || lookup_attribute ("progmem", *attributes)
That would still find a progmem attribute already in the DECL_ATTRIBUTES, which
the patch would not.
If someone will test that change, such a patch would be OK for 3.4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.0 |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14047
More information about the Gcc-bugs
mailing list