http://llvm.org/bugs/show_bug.cgi?id=8657
Chris Lattner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #6 from Chris Lattner <[email protected]> 2010-11-30 17:45:36 CST --- Implemented in r120498. LLVM now optimizes the testcase to a single store when it's a C++ file or built with -fno-common. If GCC optimizes this in the C case with -fcommon, you should file a bug against GCC. "i" may not be in the range of 0..3 if another translation unit defines a larger "u" with a strong definition, and thus the optimization is invalid with -fcommon. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
