Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdi r/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr42248.c -w -O1 -lm -o /home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/pr42248.x1 (timeo ut = 300) /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr42248.c: In functio n 'check': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr42248.c:9:1: intern al compiler error: in make_decl_rtl, at varasm.c:1316
Breakpoint 2, make_decl_rtl (decl=0x4008f7e0) at ../../gcc/gcc/varasm.c:1312 1312 gcc_assert (TREE_CODE (decl) != VAR_DECL (gdb) p debug_tree (decl) <var_decl 0x4008f7e0 x.2 type <record_type 0x4008f000 Scf10 type_0 BLK size <integer_cst 0x400107f8 constant 256> unit size <integer_cst 0x400100d8 constant 32> align 64 symtab 0 alias set -1 canonical type 0x40077f60 fields <field_decl 0x400190b0 a type <complex_type 0x40027060 complex double> DC file /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr42248.c line 2 col 19 size <integer_cst 0x40010468 constant 128> unit size <integer_cst 0x40010480 constant 16> align 64 offset_align 64 offset <integer_cst 0x40010108 constant 0> bit offset <integer_cst 0x40010570 constant 0> context <record_type 0x40077f60> chain <field_decl 0x40019108 b>> context <translation_unit_decl 0x40023dd0 D.1206> pointer_to_this <pointer_type 0x4008f240> chain <type_decl 0x40023d00 D.1191>> used BLK file /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr42248.c line 9 col 1 size <integer_cst 0x400107f8 256> unit size <integer_cst 0x400100d8 32> align 64 context <function_decl 0x40083600 check> chain <var_decl 0x4008f840 y.3>> (gdb) bt #0 make_decl_rtl (decl=0x4008f7e0) at ../../gcc/gcc/varasm.c:1312 #1 0x00892cf8 in expand_expr_real_1 (exp=0x4008f7e0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc/gcc/expr.c:8438 #2 0x0088a0ac in expand_expr_real (exp=0x4008f7e0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc/gcc/expr.c:7188 ... -- Summary: FAIL: gcc.c-torture/execute/pr42248.c compilation at -O1 and above Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa-unknown-linux-gnu GCC host triplet: hppa-unknown-linux-gnu GCC target triplet: hppa-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42805