https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114099
Bug ID: 114099 Summary: [14 regression] ICE when building darktable-4.6.1 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 57525 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57525&action=edit PentaxDecompressor.cpp.ii This was found after applying the patch from PR114068. I can hit it without too though. Initially reported downstream in Gentoo by tdr. ``` $ gcc -c PentaxDecompressor.cpp.ii -O3 -march=sapphirerapids -std=c++20 during GIMPLE pass: vect /var/tmp/portage/media-gfx/darktable-4.6.1/work/darktable-4.6.1/src/external/rawspeed/src/librawspeed/decompressors/PentaxDecompressor.cpp: In static member function ‘static rawspeed::HuffmanCode<rawspeed::BaselineCodeTag> rawspeed::PentaxDecompressor::SetupPrefixCodeDecoder_Modern(rawspeed::ByteStream)’: /var/tmp/portage/media-gfx/darktable-4.6.1/work/darktable-4.6.1/src/external/rawspeed/src/librawspeed/decompressors/PentaxDecompressor.cpp:81:1: internal compiler error: Segmentation fault 0x55743ad30b10 crash_signal /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/toplev.cc:319 0x55743bb50b1f find_uses_to_rename_use /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-loop-manip.cc:414 0x55743bb50b1f find_uses_to_rename_bb(basic_block_def*, bitmap_head**, bitmap_head*, int) [clone .constprop.0] /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-loop-manip.cc:489 0x55743b993aed find_uses_to_rename /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-loop-manip.cc:521 0x55743b993aed rewrite_into_loop_closed_ssa_1 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-loop-manip.cc:588 0x55743b993aed rewrite_into_loop_closed_ssa(bitmap_head*, unsigned int) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-loop-manip.cc:628 0x55743bd1e8d9 execute /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-vectorizer.cc:1360 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. ```