------- 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