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
This commit is contained in:
Kaveh R. Ghazi 2005-01-06 02:32:57 +00:00 committed by Kaveh Ghazi
parent bb19349385
commit 2070df3c39
4 changed files with 10 additions and 1 deletions

View 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.

View 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)

View 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);

View 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);