[Bug objc/40507] New: ICE on invalid ObjC code
debian-gcc at lists dot debian dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 20 19:37:00 GMT 2009
$ /scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/xgcc
-B/scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/ -c
NSStringTest.mi
NSStringTest.m: In function '+[NSStringTest modulusOn:by:]':
NSStringTest.m:64:12: error: expected ':' before ']' token
NSStringTest.m:64:12: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 3c6a6df60777a1ffe3c8f08ba2449167
NSStringTest.m: In function '+[NSStringTest modulusOn:by:]':
NSStringTest.m:64:12: error: expected ':' before ']' token
Program received signal SIGSEGV, Segmentation fault.
objc_build_message_expr (mess=0xf7528e70) at ../../src/gcc/objc/objc-act.c:6280
6280 if (TREE_CODE (args) == IDENTIFIER_NODE)
(gdb) bt
#0 objc_build_message_expr (mess=0xf7528e70) at
../../src/gcc/objc/objc-act.c:6280
#1 0x080e8992 in c_parser_postfix_expression (parser=0xf7d3dc78) at
../../src/gcc/c-parser.c:5665
#2 0xf7528e70 in ?? ()
#3 0x00000000 in ?? ()
(gdb) p args
$1 = (tree) 0x0
--
Summary: ICE on invalid ObjC code
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40507
More information about the Gcc-bugs
mailing list