https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99780
Bug ID: 99780 Summary: ICE in verify_curr_properties, at passes.c:2152 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code, lto Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc-11.0.1-alpha20210321 snapshot (g:fc24ea2374259d401a46ce3526688b7e79d4cc13) ICEs when compiling the following testcase w/ -flto --param stack-clash-protection-guard-size=12 --param stack-clash-protection-probe-interval=12: #pragma GCC optimize 1 void empty (void) { } % aarch64-linux-gnu-gcc-11.0.1 -flto --param stack-clash-protection-guard-size=12 --param stack-clash-protection-probe-interval=12 -c wf5ivtoh.c wf5ivtoh.c: In function 'empty': wf5ivtoh.c:5:1: error: stack clash guard size '16' must be equal to probing interval '12' 5 | } | ^ during IPA pass: targetclone wf5ivtoh.c: At top level: wf5ivtoh.c:5:1: internal compiler error: in verify_curr_properties, at passes.c:2152 0x73e8d9 verify_curr_properties /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-11-20210321/gcc/passes.c:2152 0x73e8d9 verify_curr_properties /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-11-20210321/gcc/passes.c:2149 0xdf50c6 do_per_function /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-11-20210321/gcc/passes.c:1694 0xdf88d7 do_per_function /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-11-20210321/gcc/passes.c:2564