[Bug target/56807] mingw32: Conflict between stack realignment and stack probe destroys function argument in EAX

achurch+gcc at achurch dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 2 07:47:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56807

--- Comment #1 from Andrew Church <achurch+gcc at achurch dot org> 2013-04-02 07:47:41 UTC ---
Created attachment 29773
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29773
testcase-1.c

This file contains the bulk of the testcase.  The function foo() has to be
defined in a separate file to trigger the bug.

Compile with: mingw32-gcc -mincoming-stack-boundary=2
-mpreferred-stack-boundary=4 testcase-1.c testcase-2.c -o testcase.exe



More information about the Gcc-bugs mailing list