http://llvm.org/bugs/show_bug.cgi?id=3797
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Douglas Gregor <[email protected]> 2009-03-13 11:32:33 --- Clang is doing the right thing, because this code is ill-formed. GCC 4.2 also rejects it: gcc -fsyntax-only foo.c foo.c:7: warning: cast from pointer to integer of different size foo.c:7: error: initializer element is not constant foo.c:7: error: (near initialization for âtable[0].first_defâ) -- 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
