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

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 57064
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57064&action=edit
sanitizer_stack_store.ii

Crashes with:
```
# /var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/build/./gcc/xgcc -c
-shared-libgcc -B/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/build/./gcc
-nostdinc++ ./.libs/sanitizer_stack_store.ii -std=gnu++14 -m32 -O3
-march=znver2
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/libsanitizer/sanitizer_common/sanitizer_stack_store.cpp:
In member function ‘__sanitizer::uptr*
__sanitizer::StackStore::BlockInfo::GetOrUnpack(__sanitizer::StackStore*)’:
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/libsanitizer/sanitizer_common/sanitizer_stack_store.cpp:253:7:
error: definition in block 31 does not dominate use in block 30
  253 | uptr *StackStore::BlockInfo::GetOrUnpack(StackStore *store) {
      |       ^~~~~~~~~~
for SSA_NAME: vect_value_122.379_589 in statement:
vect_value_122.379_590 = PHI <vect_value_122.379_589(30)>
PHI argument
vect_value_122.379_589
for PHI node
vect_value_122.379_590 = PHI <vect_value_122.379_589(30)>
during GIMPLE pass: vect
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/libsanitizer/sanitizer_common/sanitizer_stack_store.cpp:253:7:
internal compiler error: verify_ssa failed
0x5604d3777a76 verify_ssa(bool, bool) [clone .constprop.0]
       
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/gcc/tree-ssa.cc:1203
0x5604d4e9b845 execute_function_todo
       
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/gcc/passes.cc:2095
0x5604d4e9b845 do_per_function
       
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/gcc/passes.cc:1687
0x5604d4e9b845 execute_todo
       
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/gcc/passes.cc:2142
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```

```
# /var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/build/./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/build/./gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
14.0.1 p, commit 9d69e54a3b402b0fad067464bd402e92c14504a9'
--with-gcc-major-version-only --enable-libstdcxx-time --enable-lto
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-multilib
--with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all
--enable-libgomp --disable-libssp --disable-libada --enable-cet
--disable-systemtap --enable-valgrind-annotations --disable-vtable-verify
--disable-libvtv --with-zstd --with-isl --disable-isl-version-check
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --with-build-config='bootstrap-O3 bootstrap-lto
bootstrap-cet'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.1 20240112 (experimental)
8b447fa89d5e6b052c9309dfd1dafebdbd829ff9 (Gentoo Hardened 14.0.1 p, commit
9d69e54a3b402b0fad067464bd402e92c14504a9)
```

Reply via email to