OSDN Git Service

* g++.old-deja/g++.pt/asm1.C, g++.old-deja/g++.pt/asm2.C,
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jan 2005 02:32:57 +0000 (02:32 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jan 2005 02:32:57 +0000 (02:32 +0000)
gcc.dg/20011119-1.c: Bypass tests on x86 when using -fpic/-fPIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92983 138bc75d-0d04-0410-961f-82ee72b054a4

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 69082c0..63b3ac1 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 24cf653..62787de 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 b7e7648..3fe5e2a 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 83a9b1c..5758f8b 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);