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 #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-26 17:21:38 UTC ---
Can you provide the preprocessed source?

I think this is done on purpose since foo is not used in the source and the
rules for C++ say the const variable has vague linkage GCC can (and will)
remove those variables which are not used.


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