http://llvm.org/bugs/show_bug.cgi?id=6477
Chris Lattner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Chris Lattner <[email protected]> 2010-03-03 13:17:49 CST --- I'm not sure what you mean, this is definitely invalid C++ code and gcc 4.2 rejects it: $ gcc gototest.cxx gototest.cxx: In function ‘int main(int, char**)’: gototest.cxx:8: error: jump to label ‘ED_END’ gototest.cxx:5: error: from here gototest.cxx:6: error: crosses initialization of ‘std::fstream f’ We recently started enforcing this requirement. -- 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
