http://llvm.org/bugs/show_bug.cgi?id=11556
Eli Friedman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Eli Friedman <[email protected]> 2011-12-16 20:49:16 CST --- This is an unfortunate side-effect of r132983; the issue is that people use something like the given construct, then depend on the it to get folded to a constant, so that initialization, illegal gotos, etc. work correctly. We initially made some effort to do the right thing in both std=gnu99 and std=c99, but it got to be too much effort to handle wacky edge cases, so gnu99 does the non-compliant folding (and tells you that it did it in -pedantic mode). -- 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
