aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-01-06 02:32:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-01-06 02:32:57 +0000
commit2070df3c393a07acf532e57051136bdccccb8911 (patch)
tree479892b528db2648fa93194b8d220fc72c26b0fb /gcc
parentbb193493850d55ad29c56c68ef4e18ffd8a4bff3 (diff)
downloadgcc-2070df3c393a07acf532e57051136bdccccb8911.zip
gcc-2070df3c393a07acf532e57051136bdccccb8911.tar.gz
gcc-2070df3c393a07acf532e57051136bdccccb8911.tar.bz2
asm1.C, [...]: Bypass tests on x86 when using -fpic/-fPIC.
* g++.old-deja/g++.pt/asm1.C, g++.old-deja/g++.pt/asm2.C, gcc.dg/20011119-1.c: Bypass tests on x86 when using -fpic/-fPIC. From-SVN: r92983
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/asm1.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/asm2.C2
-rw-r--r--gcc/testsuite/gcc.dg/20011119-1.c2
4 files changed, 10 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 69082c0..63b3ac1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * g++.old-deja/g++.pt/asm1.C, g++.old-deja/g++.pt/asm2.C,
+ gcc.dg/20011119-1.c: Bypass tests on x86 when using -fpic/-fPIC.
+
2005-01-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20050105-1.c: New test.
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/asm1.C b/gcc/testsuite/g++.old-deja/g++.pt/asm1.C
index 24cf653..62787de 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/asm1.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/asm1.C
@@ -1,4 +1,6 @@
// { dg-do assemble { target i?86-*-linux* x86_64-*-linux* } }
+// We'd use ebx with -fpic/-fPIC, so skip.
+// { dg-skip-if "" { i?86-*-* } { "-fpic" "-fPIC" } { "" } }
// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
template<int i> int foo(int v)
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/asm2.C b/gcc/testsuite/g++.old-deja/g++.pt/asm2.C
index b7e7648..3fe5e2a 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/asm2.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/asm2.C
@@ -1,4 +1,6 @@
// { dg-do assemble { target i?86-*-linux* } }
+// We'd use ebx with -fpic/-fPIC, so skip.
+// { dg-skip-if "" { i?86-*-* } { "-fpic" "-fPIC" } { "" } }
// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
typedef void (function_ptr)(int);
diff --git a/gcc/testsuite/gcc.dg/20011119-1.c b/gcc/testsuite/gcc.dg/20011119-1.c
index 83a9b1c..5758f8b 100644
--- a/gcc/testsuite/gcc.dg/20011119-1.c
+++ b/gcc/testsuite/gcc.dg/20011119-1.c
@@ -1,6 +1,6 @@
/* Test for reload failing to eliminate from argp to sp. */
/* { dg-do run { target i?86-*-* } } */
-/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
+/* { dg-skip-if "" { i?86-*-* } { "-m64" "-fpic" "-fPIC" } { "" } } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
static int ustrsize (const char *s);