https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114910
Mikael Pettersson <mikpelinux at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #7 from Mikael Pettersson <mikpelinux at gmail dot com> --- (In reply to Marc Poulhiès from comment #6) > It fails with -Os. > It works with -O0, -O1, -O2, -O3 and -Os -fno-var-tracking. > > Mikael, is it possible that you're not using -Os for target libs? I'm not adding -Os anywhere, just taking defaults. Confirmed that adding --enable-target-optspace triggers the assembler error.