This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14047] [3.4/3.5 Regression] __progmem__ attribute doesn't work


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]