https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102080
--- Comment #1 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Created attachment 51362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51362&action=edit dec_reconstruct.cc.cc.orig.xz dec_reconstruct.cc.cc.orig.xz is the original extracted preprocessed file, 5MB. Fails the same as: $ /tmp/gcc-c/gcc/xg++ -B/tmp/gcc-c/gcc -c -x c++ /tmp/dec_reconstruct.cc.cc.orig -O2 during RTL pass: expand In file included from /home/slyfox/dev/hg/firefox-source/obj-x86_64-pc-linux-gnu/dist/include/hwy/foreach_target.h:102, from /home/slyfox/dev/hg/firefox-source/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc:16: /home/slyfox/dev/hg/firefox-source/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc: In function 'jxl::Status jxl::N_AVX3::UndoXYBInPlace(jxl::Image3F*, const jxl::Rect&, const jxl::OutputEncodingInfo&)': /home/slyfox/dev/hg/firefox-source/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc:39:8: internal compiler error: in expand_insn, at optabs.c:7946 39 | Status UndoXYBInPlace(Image3F* idct, const Rect& rect, | ^~~~~~~~~~~~~~ 0x7f6eea182286 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f6eea182337 __libc_start_main_impl ../csu/libc-start.c:409 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.