https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77862
Bug ID: 77862 Summary: ice in add_equivalence 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 39756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39756&action=edit gzipped C source code The attached C code does this $ ../results/bin/gcc -c -O2 -fPIC bug305.c auto/auto-store.c: In function ‘store_constructor_document_attribute_image_size’: auto/auto-store.c:29785:1: internal compiler error: Segmentation fault 0xba7bdf crash_signal ../../trunk/gcc/toplev.c:337 0xe17287 add_equivalence ../../trunk/gcc/tree-vrp.c:850 0xe21c79 extract_range_for_var_from_comparison_expr ../../trunk/gcc/tree-vrp.c:1608 0xe35d98 evrp_dom_walker::before_dom_children(basic_block_def*) ../../trunk/gcc/tree-vrp.c:10685 when compiled by gcc trunk dated 20161004 with the flags -O2 -fPIC.