https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Sorry, I indeed made a mistake - r230176 makes compilation fail with a > different error than the one I get with 5.3 release. However, after > rerunning git bisect and manually checking these revisions I can confirm > that: > > - r230165 is the last good revision in the 5 branch; > - r230176 is the first one that fails, but with a different error (internal > compiler error: in ix86_adjust_stack_and_probe, at config/i386/i386.c:11064); > - r230247 is the first one that fails with the error in choose_baseaddr; > - reverting r230176 from 5.3.0 release fixes the problem (i.e. both > testcases pass and Wine compiles and runs correctly) I see, then please always post the full set of options. r230176 & r230247 only free the frame pointer register for the register allocator with -fstack-check (this was done at the request of the Arch folks IIRC) so you can work around the failure by forcing it to be reserved again (-fno-omit-frame-pointer). I gather that this didn't work with 5.2, did it? If so, then the alignment stuff needs more work.