https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113135
Bug ID: 113135 Summary: [14 regression] ICE when building unrar (error: PHI node with wrong VUSE on edge from BB 46) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Target Milestone: --- Hit this when building unrar: ``` x86_64-pc-linux-gnu-g++ -O3 -pipe -march=znver2 -fdiagnostics-color=always -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c ../unpack.cpp In file included from ../unpack.cpp:14: ../unpack30.cpp: In member function ‘bool Unpack::ReadTables30()’: ../unpack30.cpp:628:6: error: PHI node with wrong VUSE on edge from BB 46 628 | bool Unpack::ReadTables30() | ^~~~~~ .MEM_409 = PHI <.MEM_214(46)> expected .MEM_200 ../unpack30.cpp:628:6: error: multiple virtual PHI nodes in BB 81 .MEM_283 = PHI <.MEM_200(47)> .MEM_408 = PHI <.MEM_214(47)> ../unpack30.cpp:628:6: error: PHI node with wrong VUSE on edge from BB 81 .MEM_281 = PHI <.MEM_408(81), .MEM_409(86)> expected .MEM_283 ../unpack30.cpp:628:6: error: PHI node with wrong VUSE on edge from BB 14 .MEM_411 = PHI <.MEM_209(14)> expected .MEM_387 ../unpack30.cpp:628:6: error: multiple virtual PHI nodes in BB 91 .MEM_332 = PHI <.MEM_387(15)> .MEM_410 = PHI <.MEM_209(15)> ../unpack30.cpp:628:6: error: PHI node with wrong VUSE on edge from BB 91 .MEM_334 = PHI <.MEM_410(91), .MEM_411(96)> expected .MEM_332 during GIMPLE pass: vect ../unpack30.cpp:628:6: internal compiler error: verify_ssa failed 0x55c82dd33df8 verify_ssa(bool, bool) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa.cc:1203 0x55c82d93f39d execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:2095 0x55c82d93f830 execute_todo /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.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. make: *** [../makefile:132: unpack.o] Error 1 make: Leaving directory '/var/tmp/portage/app-arch/unrar-6.2.12-r1/work/unrar/build-lib' * ERROR: app-arch/unrar-6.2.12-r1::gentoo failed (compile phase): ``` ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.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/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,df --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 14.0.0 p, commit 2250dc0cc8c46999ad1c1d79b9aeed9056459bb6' --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 --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 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231225 (experimental) 0beeddd6b1b1cb41104c4df925323e8fc0437ba8 (Gentoo 14.0.0 p, commit 2250dc0cc8c46999ad1c1d79b9aeed9056459bb6) ```