http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49221
Nicola Pero <nicola at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.06.01 09:28:00 CC| |nicola at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #5 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-01 09:28:00 UTC --- Yes, this is confirmed. Here is what I see -- === obj-c++ tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/nicola/GCC/trunk2/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/attributes/attributes.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/dg.exp ... FAIL: obj-c++.dg/exceptions-3.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/exceptions-3.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/exceptions-4.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/exceptions-4.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/exceptions-5.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/exceptions-5.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/fobjc-exceptions-1.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/fobjc-exceptions-1.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/fobjc-exceptions-2.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/fobjc-exceptions-2.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/fobjc-exceptions-3.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/fobjc-exceptions-3.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/try-catch-13.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/try-catch-13.mm -fgnu-runtime (test for excess errors) FAIL: obj-c++.dg/try-catch-4.mm -fgnu-runtime (internal compiler error) FAIL: obj-c++.dg/try-catch-4.mm -fgnu-runtime (test for excess errors) Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/lto/lto.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/property/property.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/strings/strings.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/tls/tls.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/torture/dg-torture.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/torture/strings/strings.exp ... Running /home/nicola/GCC/trunk2/gcc/testsuite/obj-c++.dg/torture/tls/tls.exp ... === obj-c++ Summary === # of expected passes 1422 # of unexpected failures 16 # of expected failures 2 # of unsupported tests 86 /home/nicola/GCC/build-trunk2-full-parallel/gcc/testsuite/obj-c++/../../g++ version 4.7.0 20110601 (experimental) (GCC) make[1]: [check-obj-c++] Error 1 (ignored) make[1]: Leaving directory `/home/nicola/GCC/build-trunk2-full-parallel/gcc' For the record, they are due to the compiler crashing in add_stmt(). Here is a stack trace of the compiler just before crashing -- Breakpoint 1, add_stmt (t=0xb7d9ebb8) at ../../trunk2/gcc/cp/semantics.c:381 381 { (gdb) i stack #0 add_stmt (t=0xb7d9ebb8) at ../../trunk2/gcc/cp/semantics.c:381 #1 0x08145b40 in cp_finish_decl (decl=0xb7da94e0, init=0x0, init_const_expr_p=0 '\000', asmspec_tree=0x0, flags=0) at ../../trunk2/gcc/cp/decl.c:6194 #2 0x080de1bf in finish_var_decl (var=0xb7da94e0, initializer=0xb7da4300) at ../../trunk2/gcc/objc/objc-runtime-shared-support.c:144 #3 0x080e20a5 in objc_eh_runtime_type (type=0xb7d95780) at ../../trunk2/gcc/objc/objc-gnu-runtime-abi-01.c:2190 #4 0x0844c0c9 in add_type_for_runtime (type=0xb7d95780) at ../../trunk2/gcc/except.c:660 #5 add_type_for_runtime (type=0xb7d95780) at ../../trunk2/gcc/except.c:648 #6 0x0844c20d in gen_eh_region_catch (t=0xb7da8690, type_or_list=0xb7d95780) at ../../trunk2/gcc/except.c:375 #7 0x086e3972 in lower_catch (state=0xbfffe634, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1680 #8 lower_eh_constructs_2 (state=0xbfffe634, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1958 #9 lower_eh_constructs_1 (state=0xbfffe634, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1996 #10 0x086e3621 in lower_try_finally (state=0xbfffe6b4, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1566 #11 lower_eh_constructs_2 (state=0xbfffe6b4, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1945 #12 lower_eh_constructs_1 (state=0xbfffe6b4, seq=Unhandled dwarf expression opcode 0xf3 ) at ../../trunk2/gcc/tree-eh.c:1996 #13 0x086e5387 in lower_eh_constructs () at ../../trunk2/gcc/tree-eh.c:2014 #14 0x086001b4 in execute_one_pass (pass=0x8e4f960) at ../../trunk2/gcc/passes.c:1556 #15 0x08600495 in execute_pass_list (pass=0x8e4f960) at ../../trunk2/gcc/passes.c:1610 #16 0x0871b696 in tree_lowering_passes (fn=0xb7da0400) at ../../trunk2/gcc/tree-optimize.c:374 #17 0x083d36cc in cgraph_lower_function (node=0xb7d00320) at ../../trunk2/gcc/cgraphunit.c:338 #18 cgraph_analyze_function (node=0xb7d00320) at ../../trunk2/gcc/cgraphunit.c:815 #19 0x083d3da8 in cgraph_analyze_functions () at ../../trunk2/gcc/cgraphunit.c:1000 #20 0x083d5df8 in cgraph_finalize_compilation_unit () at ../../trunk2/gcc/cgraphunit.c:1117 #21 0x081f2409 in cp_write_global_declarations () at ../../trunk2/gcc/cp/decl2.c:4006 #22 0x086a4cd1 in compile_file (argc=2, argv=0xbfffe994) at ../../trunk2/gcc/toplev.c:586 #23 do_compile (argc=2, argv=0xbfffe994) at ../../trunk2/gcc/toplev.c:1923 #24 toplev_main (argc=2, argv=0xbfffe994) at ../../trunk2/gcc/toplev.c:1995 #25 0x0835388b in main (argc=2, argv=0xbfffe994) at ../../trunk2/gcc/main.c:36 (gdb) c Continuing. fobjc-exceptions-1.mm:28:1: internal compiler error: in add_stmt, at cp/semantics.c:396 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Program exited with code 04. Thanks