[Bug target/124759] [16 regression] Segmentation fault with -fhardened -O3 -mavx since r16-8358-gf511bf93f94719
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 7 19:43:05 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124759
--- Comment #12 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 64165
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64165&action=edit
C source code
The attached code does something similar, but only -O3
-march=zver3 required:
foundBugs $ for i in ~/gcc/results.20260{329,401}*/bin/gcc; do echo $i; $i -w
-O3 -march=znver3 bug1195B.c; ./a.out; done
/home/dcb42/gcc/results.20260329.asan/bin/gcc
checksum = CBD724FE
/home/dcb42/gcc/results.20260401.ubsan/bin/gcc
Segmentation fault (core dumped)
foundBugs $
More information about the Gcc-bugs
mailing list