https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98087
Bug ID: 98087 Summary: [11 Regression] ICE: Floating point exception Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Changed between 20201115 and 20201122 : $ cat z1.c struct S {}; void foo (int n) { struct S a[n][0]; __builtin_clear_padding (a); } $ gcc-11-20201129 -c z1.c during GIMPLE pass: lower z1.c: In function 'foo': z1.c:2:6: internal compiler error: Floating point exception 2 | void foo (int n) | ^~~ 0xb49eaf crash_signal ../../gcc/toplev.c:330 0x8b9ff1 clear_padding_type ../../gcc/gimple-fold.c:4555 0x8ba973 gimple_fold_builtin_clear_padding ../../gcc/gimple-fold.c:4723 0x8c4c5f gimple_fold_builtin ../../gcc/gimple-fold.c:4897 0x8c6f6b gimple_fold_call ../../gcc/gimple-fold.c:5328 0x8c6f6b fold_stmt_1 ../../gcc/gimple-fold.c:6029 0x13bfee9 lower_stmt ../../gcc/gimple-low.c:388 0x13bfee9 lower_sequence ../../gcc/gimple-low.c:217 0x13bffcc lower_stmt ../../gcc/gimple-low.c:286 0x13bffcc lower_sequence ../../gcc/gimple-low.c:217 0x13bfd58 lower_gimple_bind ../../gcc/gimple-low.c:473 0x13c0a91 lower_function_body ../../gcc/gimple-low.c:110 0x13c0a91 execute ../../gcc/gimple-low.c:195