https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71801
Bug ID: 71801 Summary: ice in fix_debug_reg_uses Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 38858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38858&action=edit C source code The attached code, when compiled by gcc trunk dated 20160706, and compiler flags -g -O2, does this: $ ../results/bin/gcc -c -O2 -g bug296.c bylabel.c: In function ‘uuidcache_init’: bylabel.c:197:1: internal compiler error: in fix_debug_reg_uses, at config/i386/i386.c:3818 0xfa7d15 timode_scalar_chain::fix_debug_reg_uses(rtx_def*) ../../src/trunk/gcc/config/i386/i386.c:3817 0xfaba12 timode_scalar_chain::fix_debug_reg_uses(rtx_def*) ../../src/trunk/gcc/config/i386/i386.c:3799 0xfaba12 timode_scalar_chain::convert_insn(rtx_insn*) ../../src/trunk/gcc/config/i386/i386.c:3844 0xfd1b10 scalar_chain::convert() ../../src/trunk/gcc/config/i386/i386.c:3932