http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58180
Bug ID: 58180 Summary: [4.9 regression] ICE in obj_type_ref_class, at tree.c:11876 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: build, ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org CC: jh at suse dot cz Target: m68k-*-* Broken by r201789. libtool: compile: /daten/aranym/gcc/test/./gcc/xgcc -B/daten/aranym/gcc/test/./gcc/ -B/daten/cross/m68k-linux/m68k-linux/bin/ -B/daten/cross/m68k-linux/m68k-linux/lib/ -isystem /daten/cross/m68k-linux/m68k-linux/include -isystem /daten/cross/m68k-linux/m68k-linux/sys-include /daten/aranym/gcc/gcc/libobjc/accessors.m -c -I. -I/daten/aranym/gcc/gcc/libobjc -O2 -g -W -Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions -I/daten/aranym/gcc/gcc/libobjc/../gcc -I/daten/aranym/gcc/gcc/libobjc/../gcc/config -I../.././gcc -I/daten/aranym/gcc/gcc/libobjc/../libgcc -I../libgcc -I/daten/aranym/gcc/gcc/libobjc/../include -fgnu-runtime -fPIC -DPIC -o .libs/accessors.o /daten/aranym/gcc/gcc/libobjc/accessors.m: In function ‘objc_getProperty’: /daten/aranym/gcc/gcc/libobjc/accessors.m:127:11: internal compiler error: in obj_type_ref_class, at tree.c:11876 result = RETAIN (*(pointer_to_ivar)); ^ 0xb27f56 obj_type_ref_class(tree_node*) ../../gcc/gcc/tree.c:11876 (gdb) p ref@entry $2 = (tree) 0x7ffff6b765a0 (gdb) pt warning: Expression is not an assignment (and might have no effect) <obj_type_ref 0x7ffff6b765a0 type <pointer_type 0x7ffff6b7d1f8 type <function_type 0x7ffff6b7d150 type <pointer_type 0x7ffff6aded20 id> HI size <integer_cst 0x7ffff6a26cc0 constant 16> unit size <integer_cst 0x7ffff6a26ce0 constant 2> align 16 symtab 0 alias set -1 canonical type 0x7ffff6b7d150 arg-types <tree_list 0x7ffff6b7b438 value <pointer_type 0x7ffff6aded20 id> chain <tree_list 0x7ffff6b7b410 value <pointer_type 0x7ffff6b08738> chain <tree_list 0x7ffff6a2d988 value <void_type 0x7ffff6a35bd0 void>>>> pointer_to_this <pointer_type 0x7ffff6b7d1f8>> unsigned SI size <integer_cst 0x7ffff6a26a00 constant 32> unit size <integer_cst 0x7ffff6a26a20 constant 4> align 16 symtab 0 alias set -1 canonical type 0x7ffff6b7d1f8> arg 0 <var_decl 0x7ffff6b85be0 D.2024 type <pointer_type 0x7ffff6b08888 type <function_type 0x7ffff6b087e0> unsigned SI size <integer_cst 0x7ffff6a26a00 32> unit size <integer_cst 0x7ffff6a26a20 4> align 16 symtab 0 alias set -1 canonical type 0x7ffff6b08888> used unsigned ignored SI file /daten/aranym/gcc/gcc/libobjc/accessors.m line 127 col 4 size <integer_cst 0x7ffff6a26a00 32> unit size <integer_cst 0x7ffff6a26a20 4> align 16 context <function_decl 0x7ffff6b77600 objc_getProperty> chain <var_decl 0x7ffff6b85b48 D.2023 type <pointer_type 0x7ffff6aded20 id> used unsigned ignored SI file /daten/aranym/gcc/gcc/libobjc/accessors.m line 127 col 4 size <integer_cst 0x7ffff6a26a00 32> unit size <integer_cst 0x7ffff6a26a20 4> align 16 context <function_decl 0x7ffff6b77600 objc_getProperty> chain <var_decl 0x7ffff6b85ab0 D.2022>>> arg 1 <var_decl 0x7ffff6b85b48 D.2023> arg 2 <integer_cst 0x7ffff6a26a40 type <integer_type 0x7ffff6a35000 sizetype> constant 0>>