[Bug c/61144] Invalid optimizations for extern vars with local weak definitions

bugdal at aerifal dot cx gcc-bugzilla@gcc.gnu.org
Mon May 12 15:16:00 GMT 2014


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

--- Comment #11 from Rich Felker <bugdal at aerifal dot cx> ---
Adding __attribute__((__used__)) to the static object suppresses the symptom in
case that helps to isolate what's causing it.



More information about the Gcc-bugs mailing list