aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-11-18 08:41:53 -0800
committerRichard Henderson <rth@gcc.gnu.org>2010-11-18 08:41:53 -0800
commit275853ab387d1912647c4f367a7f7f33f47d0526 (patch)
treed202b0327fd7882dade1b6eba0ce8a10264dc4d8 /gcc
parentfb52b50a920a7571af3de43d679fa42483c56a96 (diff)
downloadgcc-275853ab387d1912647c4f367a7f7f33f47d0526.zip
gcc-275853ab387d1912647c4f367a7f7f33f47d0526.tar.gz
gcc-275853ab387d1912647c4f367a7f7f33f47d0526.tar.bz2
* gcc.target/i386/pr46470.c: Skip for 32-bit PIC.
From-SVN: r166910
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/i386/pr46470.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a5b14f9..748d06e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-18 Richard Henderson <rth@redhat.com>
+
+ * gcc.target/i386/pr46470.c: Skip for 32-bit PIC.
+
2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
PR c/33193
diff --git a/gcc/testsuite/gcc.target/i386/pr46470.c b/gcc/testsuite/gcc.target/i386/pr46470.c
index eacba4b..256b57f 100644
--- a/gcc/testsuite/gcc.target/i386/pr46470.c
+++ b/gcc/testsuite/gcc.target/i386/pr46470.c
@@ -1,4 +1,9 @@
/* { dg-do compile } */
+/* The pic register save adds unavoidable stack pointer references. */
+/* { dg-skip-if "" { ilp32 && { ! nonpic } } { "*" } { "" } } */
+/* These options are selected to ensure 1 word needs to be allocated
+ on the stack to maintain alignment for the call. This should be
+ transformed to push+pop. We also want to force unwind info updates. */
/* { dg-options "-Os -fomit-frame-pointer -fasynchronous-unwind-tables" } */
/* { dg-options "-Os -fomit-frame-pointer -mpreferred-stack-boundary=3 -fasynchronous-unwind-tables" { target ilp32 } } */