https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905
Zdenek Sojka <zsojka at seznam dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong code with |[8/9/10/11 Regression] |-mgeneral-regs-only |wrong code with -mno-mmx | |-mno-sse --- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> --- (In reply to Zdenek Sojka from comment #2) > (In reply to Martin Liška from comment #1) > > > Probably present since -mgeneral-regs-only introduction. > > > > Confirmed that, it's since r7-928-gce3a16ff1f59e6db. > > Thank you for the bisection. > If -mgeneral-regs-only is not used, the flag can be replaced by -mno-mmx > -mno-sse: > > $ x86_64-pc-linux-gnu-gcc -Os -mno-mmx -mno-sse testcase.c > $ ./a.out > Aborted ... which seems a regression from gcc-6.5.0