https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83640
Bug ID: 83640 Summary: ice in generic_overlap, at gimple-ssa-warn-restrict.c:814 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 42994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42994&action=edit C source code For the attached code, compiled with flags -c -O2 -Wall, recent gcc trunk does this: $ ../results/bin/gcc -c -O2 -Wall bug407.c during GIMPLE pass: wrestrict /home/dcb/rpmbuild/BUILD/trace-cmd-v2.6.2/trace-output.c: In function ‘create_ev ent_list_item.isra.10’: /home/dcb/rpmbuild/BUILD/trace-cmd-v2.6.2/trace-output.c:541:1: internal compile r error: in generic_overlap, at gimple-ssa-warn-restrict.c:814 create_event_list_item(struct tracecmd_output *handle, ^~~~~~~~~~~~~~~~~~~~~~ 0xbd9be7 generic_overlap ../../trunk/gcc/gimple-ssa-warn-restrict.c:814 0xbde88c overlap ../../trunk/gcc/gimple-ssa-warn-restrict.c:1198 I will have a go at reducing the code and finding a range of revisions for this bug.