http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56295
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-13 11:51:18 UTC --- (In reply to comment #5) > Created attachment 29425 [details] > Modified testcase > > This slightly modified testcase still shows some strange difference between > LTO > / non-LTO. The difference is from the compilation, not the link! That's because of the very same reason - us wrapping all global decls in MEM_REFs. We do that at compilation time (when we stream the GIMPLE IL), and this change persists. I have another patch ;)