https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113759
Bug ID: 113759 Summary: [14 regression] ICE when building fdk-aac-2.0.3 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 57320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57320&action=edit rvlcconceal.ii ``` $ aarch64-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"fdk-aac\" -DPACKAGE_TARNAME=\"fdk-aac\" -DPACKAGE_VERSION=\"2.0.3\" "-DPACKAGE_STRING=\"fdk-aac 2.0.3\"" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/opencore-amr/\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fdk-aac\" -DVERSION=\"2.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3 -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACdec/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACenc/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libArithCoding/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libDRCdec/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libSACdec/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libSACenc/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libSBRdec/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libSBRenc/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libMpegTPDec/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libMpegTPEnc/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libSYS/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libFDK/include -I/var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libPCMutils/include -fno-exceptions -fno-rtti -O2 -pipe -mcpu=native -fdiagnostics-color=always -ggdb3 -c /var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACdec/src/rvlcconceal.cpp -fPIC -DPIC -o libAACdec/src/.libs/rvlcconceal.o /var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACdec/src/rvlcconceal.cpp: In function ‘void BidirectionalEstimation_UseLowerScfOfCurrentFrame(CAacDecoderChannelInfo*)’: /var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACdec/src/rvlcconceal.cpp:286:6: error: type mismatch in ‘widen_mult_plus_expr’ 286 | void BidirectionalEstimation_UseLowerScfOfCurrentFrame( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned long int unsigned int unsigned long _364 = WIDEN_MULT_PLUS_EXPR <_189, 2, _237>; during GIMPLE pass: widening_mul /var/tmp/portage/media-libs/fdk-aac-2.0.3/work/fdk-aac-2.0.3/libAACdec/src/rvlcconceal.cpp:286:6: internal compiler error: verify_gimple failed 0xaaaab3183277 verify_gimple_in_cfg(function*, bool, bool) /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/tree-cfg.cc:5666 0xaaaab2fa196b execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.1.9999/gcc-14.0.1.9999/gcc/passes.cc:2088 0xaaaab2fa207f execute_todo /usr/src/debug/sys-devel/gcc-14.0.1.9999/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. ``` ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-unknown-linux-gnu/14/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.1.9999/work/gcc-14.0.1.9999/configure --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --prefix=/usr --bindir=/usr/aarch64-unknown-linux-gnu/gcc-bin/14 --includedir=/usr/lib/gcc/aarch64-unknown-linux-gnu/14/include --datadir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/14 --mandir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/14/man --infodir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/14/info --with-gxx-include-dir=/usr/lib/gcc/aarch64-unknown-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/aarch64-unknown-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 3ab6b70bf9ee185da7e092e1df20753cdc35d710' --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 --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 --enable-host-bind-now --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240204 (experimental) 2ada8bc53e1924b805d5a623d7ce79b20c2a9feb (Gentoo Hardened 14.0.1 p, commit 3ab6b70bf9ee185da7e092e1df20753cdc35d710) ``` I can reproduce with just g++ -c rvlcconceal.ii -O2.