[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI
bucaneer at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 5 15:49:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140
--- Comment #7 from Justas L <bucaneer at gmail dot com> ---
(In reply to Eric Botcazou from comment #5)
> As expected, reverting the patch doesn't change anything on the 5 branch, so
> I'd suggest either filling a bug report for 'git bisect' or double checking
> its result next time.
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)
Also, passing -v to the testcases shows that these additional options are
included by default, presumably from some distro (Arch) configuration:
-mtune=generic -march=x86-64 -fPIE -fstack-check=specific
-fstack-protector-strong
More information about the Gcc-bugs
mailing list