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
This commit is contained in:
H.J. Lu 2008-11-29 16:32:35 +00:00 committed by H.J. Lu
parent b564652855
commit e35fc26dcc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
Tobias Burnus <burnus@gcc.gnu.org>

View File

@ -1,5 +1,5 @@
/* 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-final { scan-assembler-not "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
/* { dg-final { scan-assembler-not "call\[\\t \]*foo" } } */