http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48853
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-04 13:33:57 UTC --- I still got FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/ret-struct-1.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/alloca-1.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O1 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -g (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (internal compiler error) FAIL: gcc.dg/torture/stackalign/nested-4.c -O2 -flto (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O1 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O1 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -fomit-frame-pointer (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -fomit-frame-pointer (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 -flto -flto-partition=none (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 -flto -flto-partition=none (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 -flto (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O2 -flto (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O1 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O1 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -fomit-frame-pointer (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -fomit-frame-pointer (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -g (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -g (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 -flto -flto-partition=none (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 -flto -flto-partition=none (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 -flto (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O2 -flto (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O1 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O1 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -fomit-frame-pointer (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -fomit-frame-pointer (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -g (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -g (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 -flto -flto-partition=none (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 -flto -flto-partition=none (test for excess errors) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 -flto (internal compiler error) FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O2 -flto (test for excess errors) Starting program: /export/build/gnu/gcc-x32/build-x86_64-linux/stage1-gcc/cc1 -fpreprocessed /tmp/y.i -quiet -dumpbase y.i -mpreferred-stack-boundary=5 -mx32 -mpreferred-stack-boundary=5 -mstackrealign -mforce-drap -mtune=generic -march=x86-64 -auxbase y -O2 -version -flto -o y.s GNU C (GCC) version 4.7.0 20110430 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.1 20100924 (Red Hat 4.5.1-4), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.3-dev GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.7.0 20110430 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.5.1 20100924 (Red Hat 4.5.1-4), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.3-dev GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: b4e2f59b4886d2d2edb8e5bd4aff1d3a Breakpoint 1, fancy_abort ( file=0x3612188 "/export/gnu/import/git/gcc-x32/gcc/dwarf2out.c", line=5648, function=0x361dd60 "output_loc_operands_raw") at /export/gnu/import/git/gcc-x32/gcc/diagnostic.c:893 893 internal_error ("in %s, at %s:%d", function, trim_filename (file), line); (gdb) bt #0 fancy_abort ( file=0x3612188 "/export/gnu/import/git/gcc-x32/gcc/dwarf2out.c", line=5648, function=0x361dd60 "output_loc_operands_raw") at /export/gnu/import/git/gcc-x32/gcc/diagnostic.c:893 #1 0x0000000000b2420b in output_loc_operands_raw (loc=0x7ffff0d4a4c0) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:5648 #2 0x0000000000b242cd in output_loc_sequence_raw (loc=0x7ffff0d4a4c0) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:5680 #3 0x0000000000b24424 in output_cfa_loc_raw (cfi=0x7ffff0d4e570) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:5741 #4 0x0000000000b1e8bd in output_cfi_directive (cfi=0x7ffff0d4e570) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:3439 #5 0x0000000000b19771 in add_fde_cfi (label=0x4a8edc0 "<do not output>", cfi=0x7ffff0d4e570) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:961 #6 0x0000000000b1bef1 in dwarf2out_frame_debug_cfa_expression ( set=0x7ffff0d4d390, label=0x4a8edc0 "<do not output>") at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:2093 #7 0x0000000000b1d605 in dwarf2out_frame_debug (insn=0x7ffff0d47c60, after_p=1 '\001') at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:2870 #8 0x0000000000c9a5f8 in final_scan_insn (insn=0x7ffff0d47c60, file=0x4c05950, optimize_p=2, nopeepholes=0, seen=0x7fffffffddac) at /export/gnu/import/git/gcc-x32/gcc/final.c:2775 #9 0x0000000000c98a73 in final (first=0x7ffff0d4a0c0, file=0x4c05950, ---Type <return> to continue, or q <return> to quit---q optimize_Quit (gdb) f 2 #2 0x0000000000b242cd in output_loc_sequence_raw (loc=0x7ffff0d4a4c0) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:5680 5680 output_loc_operands_raw (loc); (gdb) f 1 #1 0x0000000000b2420b in output_loc_operands_raw (loc=0x7ffff0d4a4c0) at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:5648 5648 gcc_unreachable (); (gdb) list 5643 case DW_OP_GNU_const_type: 5644 case DW_OP_GNU_regval_type: 5645 case DW_OP_GNU_deref_type: 5646 case DW_OP_GNU_convert: 5647 case DW_OP_GNU_reinterpret: 5648 gcc_unreachable (); 5649 break; 5650 5651 default: 5652 /* Other codes have no operands. */ (gdb)