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

            Bug ID: 114048
           Summary: [14 regression] ICE when building libowfat-0.33 on x86
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 57490
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57490&action=edit
critbit.i

Originally reported downstream in Gentoo by Agostino Sarubbo at
https://bugs.gentoo.org/925231.

```
$ i686-pc-linux-gnu-gcc -c critbit/critbit.c -I. -O2 -march=i686 -mfpmath=sse
-msse2 -fomit-frame-pointer
during GIMPLE pass: fre
critbit/critbit.c: In function ‘allprefixed_traverse’:
critbit/critbit.c:184:12: internal compiler error: in
copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1165
  184 | static int allprefixed_traverse(uint8_t* top,int(*handle)(const
char*,void*),void* arg) {
      |            ^~~~~~~~~~~~~~~~~~~~
0x56e000cf copy_reference_ops_from_ref
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:1165
0x58665915 valueize_shared_reference_ops_from_ref
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:1858
0x58665915 vn_reference_lookup(tree_node*, tree_node*, vn_lookup_kind,
vn_reference_s**, bool, tree_node**, tree_node*, bool)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:4063
0x585da936 visit_reference_op_load
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:5852
0x585da936 visit_stmt
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:6373
0x585d43a0 process_bb
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:8145
0x585ca491 do_rpo_vn_1
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:8746
0x585ef988 execute
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-sccvn.cc:8907
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.
```

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/14/lto-wrapper
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.9999/work/gcc-14.0.9999/configure
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/i686-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,df
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 14.0.9999 p,
commit 568b3f9940f87a775060aea789b2f438af477e9f' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --disable-fixed-point --with-arch=i686 --enable-targets=all
--enable-libgomp --disable-libssp --disable-libada --disable-cet
--disable-systemtap --disable-valgrind-annotations --disable-vtable-verify
--disable-libvtv --with-zstd --without-isl --enable-default-pie
--enable-host-pie --disable-host-bind-now --enable-default-ssp
--with-build-config='bootstrap-O3 bootstrap-lto'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.1 20240215 (experimental)
b3b3bd250f0a7c22b7d46d3522c8b94c6a35d22a (Gentoo 14.0.9999 p, commit
568b3f9940f87a775060aea789b2f438af477e9f)
```

Reply via email to