[Bug target/34734] attribute((progmem)) not handled properly in C++ for AVRs
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 29 07:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-06-29 07:57:28 UTC ---
Author: gjl
Date: Wed Jun 29 07:57:25 2011
New Revision: 175621
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175621
Log:
PR target/34734
* config/avr/avr.c (avr_handle_progmem_attribute): Move warning
about uninitialized data attributed 'progmem' from here...
(avr_encode_section_info): ...to this new function.
(TARGET_ENCODE_SECTION_INFO): New define.
(avr_section_type_flags): For data in ".progmem.data", remove
section flag SECTION_WRITE.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
More information about the Gcc-bugs
mailing list