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 c++/53493] [4.7 regression] Compiling with -Os excludes PROGMEM array from generated object file (__attribute__((__progmem__)))


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

--- Comment #3 from jwatte at gmail dot com 2012-05-26 19:25:50 UTC ---
Created attachment 27504
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27504
The preprocessed source

Generated with:
avr-gcc -Os -mmcu=atmega328p -c foo.cpp -o foo.E -E

Note that the "-Os" flag does not change the pre-processed source at all -- the
preprocessed output is the same with or without it.


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