]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.target/i386/pr46470.c: Skip for 32-bit PIC.
authorRichard Henderson <rth@redhat.com>
Thu, 18 Nov 2010 16:41:53 +0000 (08:41 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 18 Nov 2010 16:41:53 +0000 (08:41 -0800)
From-SVN: r166910

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr46470.c

index a5b14f964a37bb41fc4ee69e8a239a7b9aae60b5..748d06ee39ce42e258c4a7fe9ac8e644be385741 100644 (file)
@@ -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
index eacba4b413136a0a76b832bf364a882b61121fc6..256b57f6ad460cac92871729a8a2956773554d92 100644 (file)
@@ -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 } } */