From e35fc26dcc35b0af915bc064693df08710de4583 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 29 Nov 2008 16:32:35 +0000 Subject: [PATCH] re PR middle-end/37843 (unaligned stack in main due to tail call optimization) 2008-11-29 H.J. Lu PR middle-end/37843 * gcc.target/i386/pr37843-3.c: Make it nonpic targets only. From-SVN: r142278 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr37843-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e4ea7b2..6799a6d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-11-29 H.J. Lu + + PR middle-end/37843 + * gcc.target/i386/pr37843-3.c: Make it nonpic targets only. + 2008-11-29 Janus Weil Tobias Burnus diff --git a/gcc/testsuite/gcc.target/i386/pr37843-3.c b/gcc/testsuite/gcc.target/i386/pr37843-3.c index 7923b29..505ff87 100644 --- a/gcc/testsuite/gcc.target/i386/pr37843-3.c +++ b/gcc/testsuite/gcc.target/i386/pr37843-3.c @@ -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" } } */ -- 2.7.4