https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574
--- Comment #2 from Zhendong Su ---
Another likely related test case.
Compiler Explorer: https://godbolt.org/z/G514hnMeY
[537] % gcctk -O3 small.c
[538] % timeout -s 9 5 ./a.out
Killed
[539] % gcctk -O1 small.c
[540] % ./a.out
[541] %
[541]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108574
--- Comment #1 from Zhendong Su ---
Here is another reproducer likely for the same bug.
Compiler Explorer: https://godbolt.org/z/Efvczc6f8
[556] % gcctk -O3 small.c
[557] % ./a.out
Floating point exception
[558] %
[558] % cat small.c
int a,