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

            Bug ID: 119534
           Summary: [15 regression] ICE when building libaom-3.10.0
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          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 60920
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60920&action=edit
highbd_temporal_filter_avx2.c.i.xz

```
$ gcc -c
./CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/highbd_temporal_filter_avx2.c.i
-m32 -march=icelake-server -O3
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:
In function ‘av1_highbd_apply_temporal_filter_avx2’:
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:368:6:
error: integral result type precision does not match field size of
‘bit_field_ref’
  368 | void av1_highbd_apply_temporal_filter_avx2(
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_4362 = BIT_FIELD_REF <mask__4653.109_4374, 8, 8>;
[...]
_2962 = BIT_FIELD_REF <mask__3498.312_2987, 8, 24>;
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:368:6:
error: integral result type precision does not match field size of
‘bit_field_ref’
_2949 = BIT_FIELD_REF <mask__3498.312_2986, 8, 8>;
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:368:6:
error: integral result type precision does not match field size of
‘bit_field_ref’
_2942 = BIT_FIELD_REF <mask__3498.312_2986, 8, 16>;
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:368:6:
error: integral result type precision does not match field size of
‘bit_field_ref’
_2936 = BIT_FIELD_REF <mask__3498.312_2986, 8, 24>;
during GIMPLE pass: vect
/var/tmp/portage/media-libs/libaom-3.10.0/work/libaom-3.10.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:368:6:
internal compiler error: verify_gimple failed
0x55d5720c64e2 internal_error(char const*, ...)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517
0x55d570bef62f verify_gimple_in_cfg(function*, bool, bool)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-cfg.cc:5682
0x55d57228ff82 execute_function_todo
        /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2101
0x55d5721ad726 do_per_function
        /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:1700
0x55d5721ad726 execute_todo
        /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2155
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/x86_64-pc-linux-gnu/15/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-15.0.9999/work/gcc-15.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/15
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/15/python
--enable-libphobos --enable-objc-gc
--enable-languages=c,c++,d,go,objc,obj-c++,fortran,ada,m2,rust
--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 15.0.9999 p, commit
c2b5b58acd2b0240ed361bbc9a94bf61d2d26f8e' --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-offload-defaulted
--enable-offload-targets=nvptx-none --enable-libgomp --disable-libssp
--enable-libada --enable-cet --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --without-isl
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --disable-fixincludes
--with-gxx-libcxx-include-dir=/usr/include/c++/v1
--with-build-config='bootstrap-lto bootstrap-cet'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.1 20250329 (experimental)
eb26b667518c951d06f3c51118a1d41dcdda8b99 (Gentoo Hardened 15.0.9999 p, commit
c2b5b58acd2b0240ed361bbc9a94bf61d2d26f8e)
```

Reply via email to