Commit e35fc26d by H.J. Lu Committed by H.J. Lu

re PR middle-end/37843 (unaligned stack in main due to tail call optimization)

2008-11-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/37843
	* gcc.target/i386/pr37843-3.c: Make it nonpic targets only.

From-SVN: r142278
parent b5646528
2008-11-29 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/37843
* gcc.target/i386/pr37843-3.c: Make it nonpic targets only.
2008-11-29 Janus Weil <janus@gcc.gnu.org> 2008-11-29 Janus Weil <janus@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org>
......
/* Test for stack alignment with sibcall optimization. */ /* Test for stack alignment with sibcall optimization. */
/* { dg-do compile { target { *-*-linux* && ilp32 } } } */ /* { dg-do compile { target { *-*-linux* && { ilp32 && nonpic } } } } */
/* { dg-options "-O2 -std=gnu99 -mpreferred-stack-boundary=4 -mincoming-stack-boundary=2" } */ /* { dg-options "-O2 -std=gnu99 -mpreferred-stack-boundary=4 -mincoming-stack-boundary=2" } */
/* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */ /* { dg-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
/* { dg-final { scan-assembler-not "call\[\\t \]*foo" } } */ /* { dg-final { scan-assembler-not "call\[\\t \]*foo" } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment