https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113900
Bug ID: 113900 Summary: [14 regression] Hang and then ICe in vect_transform_loops, at tree-vectorizer.cc:1031 when building slang-2.3.3 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: compile-time-hog, 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 CC: rguenth at gcc dot gnu.org Target Milestone: --- Note that it takes ages to ICE which is also suspicious. Accordingly, I don't know if I can reduce this. ``` # cd /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_32.x86/src/elfobjs && x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -c -O3 -pipe -march=native -fdiagnostics-color=always -fpermissive -fno-strict-aliasing -Waddress -Warray-bounds -Wfree-nonheap-object -Wint-to-pointer-cast -Wmain -Wnonnull -Wodr -Wreturn-type -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstring-compare -Wuninitialized -Wvarargs -fPIC -Dunix -DSLANG /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_32.x86/src/slarith.c during GIMPLE pass: vect /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_32.x86/src/slarith.c: In function ‘_pSLarith_register_types’: /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_32.x86/src/slarith.c:1539:5: internal compiler error: in vect_transform_loops, at tree-vectorizer.cc:1031 1539 | int _pSLarith_register_types (void) | ^~~~~~~~~~~~~~~~~~~~~~~~ 0x55ff49e7df8a vect_transform_loops /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-vectorizer.cc:1031 0x55ff4b533b51 try_vectorize_loop_1 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-vectorizer.cc:1152 0x55ff4b533b51 try_vectorize_loop /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-vectorizer.cc:1182 0x55ff4b24d256 execute /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-vectorizer.cc:1298 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. ```