https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123159
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Matthias Klose from comment #4) > yes, the native GCC 16 is from the same upstream commit. Other cross > compilers (arm32, hppa, sh4, m68k, alpha, powerpc, ppc64, sparc64) built > fine on this host. insn-extract.cc is a generated file from the backend md file. So cross compilers for other targets might work just fine as you shown here. It also just means the size of the generated insn-extract.cc was not big enough to hit the memory limit for those targets. The problem is not with aarch64 cross compiler though. it is with the x86_64-linux-gnux32 compiler trying to compile this generated file. I wonder if we should try to use -O1 for generated files when defaulting CXXFLAGS options.
