Add -fno-pic to gcc.target/i386/pr47502-2.c.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 28 Mar 2011 13:14:47 +0000 (13:14 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 28 Mar 2011 13:14:47 +0000 (06:14 -0700)
2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/48276
* gcc.target/i386/pr47502-2.c: Add -fno-pic.

From-SVN: r171604

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr47502-2.c

index a9f70d0795aea3794726fe5eec2f090e9e81da1c..53424d290b56299821f9e17ea0331df9ffc24877 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/48276
+       * gcc.target/i386/pr47502-2.c: Add -fno-pic.
+
 2011-03-28  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.dg/slp-1.c: New test.
index 1f57ea017e1f33fc0094874bf868c591a3d4a3ec..a8dc1ca01897329e4e7b0ff839b685e0eb1dea68 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-pic" } */
 
 int
 foo (int how, const void *set, void *oset)