sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
authorKean Johnston <jkj@sco.com>
Wed, 14 Dec 2005 17:30:34 +0000 (17:30 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 14 Dec 2005 17:30:34 +0000 (17:30 +0000)
* gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
* gcc.target/i386/20020523-1.c: Ditto.
* gcc.target/i386/tailcall-1.c: Ditto.
* gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC.
* gcc.target/i386/ssetype-5.c: Ditto.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r108521

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sibcall-6.c
gcc/testsuite/gcc.target/i386/20020523-1.c
gcc/testsuite/gcc.target/i386/ssetype-3.c
gcc/testsuite/gcc.target/i386/ssetype-5.c
gcc/testsuite/gcc.target/i386/tailcall-1.c

index c8402373d310d4ec38acdc17efe53b9d82d84e72..bc6049b8ac9a7a8665c04e62cc2b4864807f6820 100644 (file)
@@ -1,3 +1,12 @@
+2005-12-14  Kean Johnston  <jkj@sco.com>
+            Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
+       * gcc.target/i386/20020523-1.c: Ditto.
+       * gcc.target/i386/tailcall-1.c: Ditto.
+       * gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC.
+       * gcc.target/i386/ssetype-5.c: Ditto.
+
 2005-12-14  Jeff Law  <law@redhat.com>
 
        * gcc.dg/tree-ssa/foldstring-1.c: New test.
index bb855108ee172ac0fc6df9833672f86331eef1d1..ca26400ba3343e9d96a1c17dd81cccce16d7071e 100644 (file)
@@ -7,6 +7,7 @@
    Contributed by Andreas Bauer <baueran@in.tum.de>  */
 
 /* { dg-do run { target i?86-*-* s390*-*-* x86_64-*-*} } */
+/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */
 /* { dg-options "-O2 -foptimize-sibling-calls" } */
 
 extern void abort (void);
index 51ae5ecb6895df85d3459afc35d33293a9fb4983..3338612efdc888e7da8454490120384bd56184c8 100644 (file)
@@ -2,6 +2,7 @@
    This testcase was miscompiled because sse_mov?fcc_const0*
    patterns were missing earlyclobber.  */
 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
 /* { dg-require-effective-target ilp32 } */
 /* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */
 
index 3b2461be32cb6f460e2b422ab3b3464cf2380d42..cae79e5520292e50554ae35b841a405034f48dad 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <xmmintrin.h>
 
-__m128 magic_a, magic_b;
+static __m128 magic_a, magic_b;
 __m128
 t1(void)
 {
index 866c4d3d5778363efda142967dee66622a78c9ef..b03c83bab84e249066c27ab3769c0b0129ed2a2a 100644 (file)
@@ -10,7 +10,7 @@
 /* Verify that we generate proper instruction with memory operand.  */
 
 #include <xmmintrin.h>
-__m128i magic_a, magic_b;
+static __m128i magic_a, magic_b;
 __m128i
 t1(void)
 {
index b916b6c7c1ed17b7a02993ed643c60b75ae2f299..0e8c2f3c58a05f035656f5eb0f47b25d1f8fcd01 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */
 /* { dg-options "-O2" } */
 
 typedef unsigned int Cardinal;