https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78121
Bug ID: 78121 Summary: ice in set_value_range 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 39902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39902&action=edit C source code The attached code, when compiled by gcc dated 20161026, and compiler flags -O2 -ansi, does this: $ ../results/bin/gcc -c -ansi -O2 bug317.c 2>&1 | more output.c: In function ‘indicate_special’: output.c:778:1: internal compiler error: in set_value_range, at tree-vrp.c:367 0xed2af0 set_value_range ../../trunk/gcc/tree-vrp.c:367 0xed4b9c get_value_range ../../trunk/gcc/tree-vrp.c:699 0xed4e34 vrp_valueize ../../trunk/gcc/tree-vrp.c:7054 0x105d4bf do_valueize ../../trunk/gcc/gimple-match-head.c:557 I'll have a go at reducing the source code file.