http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49942
--- Comment #3 from jphartmann at gmail dot com <jphartmann at gmail dot com> 2011-08-02 08:37:44 UTC --- Adding a dummy assignment to a global value that the optimiser cannot figure to be useless fixes the problem.