[Bug target/51900] [4.6 Regression] const variable initialization always zero

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Thu Jan 19 12:01:00 GMT 2012


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

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2012-01-19 11:34:52 UTC ---
I can reproduce with x86_64-w64-mingw32-gcc-4.6.2 on cygwin.  Adding 'extern'
to the declaration in the .h file fixes it.



More information about the Gcc-bugs mailing list