https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84321
Bug ID: 84321 Summary: ice in intersect_range_with_nonzero_bits, at tree-vrp.c:213 Product: gcc Version: 8.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 43391 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43391&action=edit C source code For the attached code, on recent gcc trunk, with compiler flags -O3 and -fwrapv, does this: src/client/refresh/files/stb_image.h:2815:17: internal compiler error: in intersect_range_with_nonzero_bits, at tree-vrp.c:213 0x6b5d59 intersect_range_with_nonzero_bits(value_range_type, generic_wide_int<wide_int_storage>*, generic_wide_int<wide_int_storage>*, generic_wide_int<wide_int_storage> const&, signop) ../../trunk/gcc/tree-vrp.c:213 0x18f51c0 split_constant_offset_1 ../../trunk/gcc/tree-data-ref.c:728 0x18f55a6 split_constant_offset(tree_node*, tree_node**, tree_node**) ../../trunk/gcc/tree-data-ref.c:782 0x18f4e34 split_constant_offset_1 ../../trunk/gcc/tree-data-ref.c:617 I will have my usual go at reducing the code and finding a range of revisions for the problem.