PATCH: PR testsuite/48276: FAIL: gcc.target/i386/pr47502-2.c
H.J. Lu
hongjiu.lu@intel.com
Mon Mar 28 13:30:00 GMT 2011
Hi,
gcc.target/i386/pr47502-2.c uses EBX which doesn't work with PIC.
I am checking in this patch as an obvious fix.
H.J.
---
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a9f70d0..53424d2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.target/i386/pr47502-2.c b/gcc/testsuite/gcc.target/i386/pr47502-2.c
index 1f57ea0..a8dc1ca 100644
--- a/gcc/testsuite/gcc.target/i386/pr47502-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr47502-2.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-pic" } */
int
foo (int how, const void *set, void *oset)
More information about the Gcc-patches
mailing list