This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41555] possible miscompilation in whole-program mode
- From: "regehr at cs dot utah dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2009 16:44:09 -0000
- Subject: [Bug c/41555] possible miscompilation in whole-program mode
- References: <bug-41555-12544@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from regehr at cs dot utah dot edu 2009-10-03 16:44 -------
Making the variables static in addition to the functions causes the problem to
happen at -O3.
The bad behavior happens at -O3 only if g_101 is static.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41555