https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71594
Bug ID: 71594 Summary: ice in maybe_legitimize_operand, at optabs.c:6893 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 38735 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38735&action=edit C source code The attached code, when compiled with flags -c -O3 -march=native on x86_64 by gcc trunk dated 20160619, does this: bug295.c: In function ‘func_0’: bug295.c:9100:1: internal compiler error: in maybe_legitimize_operand, at optabs.c:6893 } ^ 0xb2ab3b maybe_legitimize_operand ../../src/trunk/gcc/optabs.c:6892 0xb3442c maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*) ../../src/trunk/gcc/optabs.c:6959 0xb3442c maybe_gen_insn(insn_code, unsigned int, expand_operand*) ../../src/trunk/gcc/optabs.c:6977 0xb3442c maybe_expand_insn(insn_code, unsigned int, expand_operand*) ../../src/trunk/gcc/optabs.c:7020