asm1.C, [...]: Bypass tests on x86 when using -fpic/-fPIC.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 6 Jan 2005 02:32:57 +0000 (02:32 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 6 Jan 2005 02:32:57 +0000 (02:32 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/asm1.C
gcc/testsuite/g++.old-deja/g++.pt/asm2.C
gcc/testsuite/gcc.dg/20011119-1.c

index 69082c0f3db89e8cb7ce987488f52e0c109c92f0..63b3ac167dd471083bdeb7ef9cf6634e80a4d08c 100644 (file)
@@ -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.
index 24cf653ceb456b45f859a4f1a28f26ec110d74d0..62787de9be18ac6c5d3ff94fd564218d8031884e 100644 (file)
@@ -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)
index b7e764808369307381c6b02279a19a852d0ceab5..3fe5e2a213e3c91918005bafe9c5cb3734db7adc 100644 (file)
@@ -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);
index 83a9b1cd3f36593bde5ff351451f71bf9df944e9..5758f8b1bf08a091c1e221910e1c7cf8c48dd70b 100644 (file)
@@ -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);