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

            Bug ID: 122850
           Summary: [16 regression] ICE when building highway-1.3.0
                    (error: not allowed type combination in
                    bit_insert_expr)
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 62908
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62908&action=edit
ccwfYYyY.out.xz

```
$ g++ -x c++ -c /tmp/ccwfYYyY.out -m32 -O2

In file included from
/var/tmp/portage/dev-cpp/highway-1.3.0/work/highway-1.3.0/hwy/foreach_target.h:72,
                 from
/var/tmp/portage/dev-cpp/highway-1.3.0/work/highway-1.3.0/hwy/tests/demote_test.cc:21:
/var/tmp/portage/dev-cpp/highway-1.3.0/work/highway-1.3.0/hwy/tests/demote_test.cc:
In function ‘void
hwy::N_SSSE3::{anonymous}::TestReorderDemote2To::operator()(TF32, DF32) [with
TF32 = float; DF32 = hwy::N_SSSE3::Simd<float, 4, 0>]’:
/var/tmp/portage/dev-cpp/highway-1.3.0/work/highway-1.3.0/hwy/tests/demote_test.cc:488:34:
error: not allowed type combination in ‘bit_insert_expr’
  488 |   HWY_NOINLINE void operator()(TF32 /*t*/, DF32 d32) {
      |                                  ^~~~~~~~
vector(2) long long unsigned int
long long int
_352 = BIT_INSERT_EXPR <_63, 0, 64 (64 bits)>;
during GIMPLE pass: forwprop
/var/tmp/portage/dev-cpp/highway-1.3.0/work/highway-1.3.0/hwy/tests/demote_test.cc:488:34:
internal compiler error: verify_gimple failed
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://bugs.gentoo.org/> for instructions.
```

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.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/16
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/16/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/16/include/g++-v16
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/16/python
--enable-libphobos --enable-objc-gc
--enable-languages=c,c++,d,objc,obj-c++,fortran,ada,cobol,algol68,m2,rust,jit
--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 16.0.9999 p, commit
d93ac8e926116356695925acea88cb496d9ddaa8' --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,mx32,m64 --disable-fixed-point
--with-abi=m64 --enable-targets=all --enable-offload-defaulted
--enable-offload-targets=nvptx-none --enable-libgomp --disable-libssp
--enable-libada --disable-cet --enable-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 --disable-fixincludes
--with-gxx-libcxx-include-dir=/usr/include/c++/v1 --enable-host-shared
--enable-libgdiagnostics --enable-linker-build-id --enable-linker-build-id
--enable-linker-build-id --enable-linker-build-id
--with-build-config='bootstrap-O3 bootstrap-lto'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20251124 (experimental)
a2f4b0466be29c853c32498ae49c1acfa1594f30 (Gentoo Hardened 16.0.9999 p, commit
d93ac8e926116356695925acea88cb496d9ddaa8)
```

Reply via email to