https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120011
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |15.1.0 Known to work| |14.2.0 Summary|[15 Regression] Impossible |[15 Regression] Impossible |asm constraints in 32 bit |asm constraints in 32 bit |libgcc when compiling with |libgcc when compiling with |-march=x86-64-v4 |-march=x86-64-v4 -Os --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Stefan Kneifel from comment #4) > Oh I see that the error occurs only if one of the size optimization options > (-Os,-Oz) is active: > > [64 bit environment] > gcc -Os -pipe -c addtf3.c works > gcc -Os -pipe -c addtf3.c -march=x86-64-v4 works > gcc -Os -pipe -c addtf3.c -march=x86-64-v3 -m32 works > gcc -Os -pipe -c addtf3.c -march=x86-64-v4 -m32 doesn't work (works on > 15.0) > gcc -Oz -pipe -c addtf3.c -march=x86-64-v4 -m32 doesn't work (works on > 15.0) > gcc -O1 -pipe -c addtf3.c -march=x86-64-v4 -m32 works > gcc -O2 -pipe -c addtf3.c -march=x86-64-v4 -m32 works > gcc -O3 -pipe -c addtf3.c -march=x86-64-v4 -m32 works > > I'll try the change you mentioned and will give a feedback if the error is > gone. Ok with -Os, it fails even with 15.1.0 release.