https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123150

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #1)
> I've only seen this on a znver4 machine so presumably avx512 related. My
> znver2 machine bootstrapped fine.

While this is true (will figure out why and share if interesting), e.g.
stripping -march=native and passing -march=x86-64-v2 for the original report
also ICEs:

```
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./prev-gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include
-isystem /usr/x86_64-pc-linux-gnu/sys-include   -fchecking=1 -c -m64 -O3 
-fno-semantic-interposition -mtls-dialect=gnu2 -fdiagnostics-color=always
-Wa,-O2 -Wa,-mtune=znver4 -g1 -pipe -Werror=strict-aliasing
-Werror=lto-type-mismatch -Werror=odr -fdiagnostics-color=always
-fdiagnostics-urls=never --param=ggc-min-expand=150 -ggdb3  -fchecking=1
-fcf-protection  -gnatpg -gnata -W -Wall -fPIC -nostdinc -I- -I.
-Iada/generated -Iada
-I/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada
-Iada/libgnat
-I/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada/libgnat
-Iada/gcc-interface
-I/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada/gcc-interface
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada/exp_dbug.adb
-o ada/exp_dbug.o -march=x86-64-v2
```

Reply via email to