https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #413 from Oleg Endo <olegendo at gcc dot gnu.org> --- Created attachment 59442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59442&action=edit Reduced test case for comment #405 (In reply to John Paul Adrian Glaubitz from comment #405) > File too large to be attached, so uploading it here: > > https://people.debian.org/~glaubitz/pr-55212-404.tgz This is the test case reduced by c-vise, which can be obtained by following the first few steps described here https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction with the following "check.sh" script ------------ #!/bin/sh flags="-fdiagnostics-color=never -fmax-errors=20 -fdebug-types-section -g1 -O2 -fstack-protector-strong -fno-strict-aliasing -fno-exceptions -fno-rtti -fPIC -fvisibility=hidden -std=c++20" sh-elf-g++ -c -m4 -ml $flags UnifiedSource-207b877e-5.cpp.ii 2>&1 | grep 'internal compiler error: in lra_assign, at lra-assigns.cc:1657' ------------ It took about 9 hours on my machine. Adrian, if you could utilize your access to bigger build clusters and run these reductions on your side, that would be helpful.