[Bug objc++/42156] Hundreds of objc++ testsuite regressions

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Nov 24 01:49:00 GMT 2009



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2009-11-24 01:49 -------
On x86_64-apple-darwin10, these show up as failures like...

/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/gcc/testsuite/obj-c++/../../g++
-B/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/gcc/testsuite/obj-c++/../../
/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/gcc/testsuite/obj-c++.dg/bad-receiver-type.mm
 -nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/x86_64-apple-darwin10.2.0
-I/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/testsuite/util
-fmessage-length=0    -S  -o bad-receiver-type.s 
/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/gcc/testsuite/obj-c++.dg/bad-receiver-type.mm:4:12:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

which backtraces in gdb as...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
build_private_template (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:889
889           TYPE_OBJC_INTERFACE (t) = klass;
(gdb) bt
#0  build_private_template (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:889
#1  0x00000001000113c4 in continue_class (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:7772
#2  0x0000000100011650 in objc_continue_interface () at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:679
#3  0x0000000100113c03 in cp_parser_declaration (parser=0x14287f000) at
../../gcc-4.5-20091123/gcc/cp/parser.c:20983
#4  0x0000000100113ca2 in cp_parser_declaration_seq_opt (parser=0x14287f000) at
../../gcc-4.5-20091123/gcc/cp/parser.c:8614
#5  0x00000001001148dd in c_parse_file () at
../../gcc-4.5-20091123/gcc/cp/parser.c:3085
#6  0x00000001001f1435 in c_common_parse_file (set_yydebug=<value temporarily
unavailable, due to optimizations>) at ../../gcc-4.5-20091123/gcc/c-opts.c:1279
#7  0x00000001007bfbc4 in toplev_main (argc=29, argv=0x7fff5fbfd1e0) at
../../gcc-4.5-20091123/gcc/toplev.c:1049
#8  0x0000000100001914 in start ()
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156



More information about the Gcc-bugs mailing list