http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54694
--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Uroš Bizjak from comment #13) > (In reply to H.J. Lu from comment #12) > > *** Bug 59763 has been marked as a duplicate of this bug. *** > > Are you sure this is a duplicate? The ICE is at different location and > adding -mno-avx doesn't help. In fact, -march=corei7 was not used in the > testcase at all. This bug is against GCC 4.6. For GCC 4.9, I got [hjl@gnu-6 pr54694]$ cat x.i typedef struct { } floatx80; register struct CPUX86State *env asm ("ebp"); floatx80 float64_to_floatx80 (int, int); typedef struct { floatx80 d; } FPReg; struct CPUX86State { FPReg fpregs[0]; }; void helper_fldl_ST0 () { env->fpregs[0].d = float64_to_floatx80 (0, 0); } [hjl@gnu-6 pr54694]$ make /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -mavx -m32 -S x.i x.i: In function ‘helper_fldl_ST0’: x.i:20:1: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1550 } ^ 0x766175 dwarf2out_frame_debug_expr /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:1548 0x767355 dwarf2out_frame_debug /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:2043 0x767e58 scan_insn_after /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:2369 0x768414 scan_trace /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:2526 0x768527 create_cfi_notes /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:2565 0x768ff9 execute_dwarf2_frame /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:2925 0x769d40 execute /export/gnu/import/git/gcc/gcc/dwarf2cfi.c:3421 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [x.s] Error 1 [hjl@gnu-6 pr54694]$ -maccumulate-outgoing-args can be used as a workaround.