[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-18 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #20 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jan 18 16:19:53 2016 New Revision: 232528 URL: https://gcc.gnu.org/viewcvs?rev=232528&root=gcc&view=rev Log: Backport from mainline 2016-01-07 Uros Bizjak

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #17 from uros at gcc dot gnu.org --- Author: uros Date: Wed Jan 6 20:19:04 2016 New Revision: 232111 URL: https://gcc.gnu.org/viewcvs?rev=232111&root=gcc&view=rev Log: PR target/69140 * config/i386/i386.c (ix86_expand

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread bucaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #16 from Justas L --- (In reply to Uroš Bizjak from comment #15) > Please also do some runtime tests, I don't have the Wine source here ... Wine compiles and runs with no apparent issues.

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #15 from Uroš Bizjak --- (In reply to Justas L from comment #14) > (In reply to Uroš Bizjak from comment #13) > > Justas, can you please test the following patch > > Thank you, it indeed solves the problem. Please also do some runti

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread bucaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #14 from Justas L --- (In reply to Uroš Bizjak from comment #13) > Justas, can you please test the following patch Thank you, it indeed solves the problem.

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #13 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #12) > Looking into it. At the beginning of ix86_expand_epilogue, we have: m->fs.sp_valid = (!frame_pointer_needed || (crtl->sp_is_unchanging

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-06 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 Eric Botcazou changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #11

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #10 from Eric Botcazou --- Created attachment 37231 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37231&action=edit Reduced testcase To be compiled with -O2 -mincoming-stack-boundary=3

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-05 Thread bucaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #9 from Justas L --- Yes, forced stack alignment on x86_64 was introduced after 5.2, in r228728 for pr66697. Also, I can confirm that adding -fno-omit-frame-pointer allows Wine to compile normally.

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #8 from Eric Botcazou --- > 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 ca

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-05 Thread bucaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 --- Comment #7 from Justas L --- (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

[Bug target/69140] stack alignment + O1 breaks with Microsoft ABI

2016-01-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140 Eric Botcazou changed: What|Removed |Added Target Milestone|5.4 |--- Summary|[5/6 regression]