From: Kaveh R. Ghazi Date: Thu, 8 Dec 2005 01:26:45 +0000 (+0000) Subject: i386-1.C, [...]: Also test on x86_64. X-Git-Tag: releases/gcc-4.2.0~5510 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fecf303322bb431d409b5836e8bfce88b19d6bb;p=thirdparty%2Fgcc.git i386-1.C, [...]: Also test on x86_64. 2005-12-06 Kaveh R. Ghazi * g++.dg/other/i386-1.C, gcc.c-torture/execute/990413-2.x, gcc.dg/torture/pr18582-1.c, gcc.target/i386/attributes-error.c: Also test on x86_64. * gcc.dg/pr18928-1.c: Test on all targets supporting pic. From-SVN: r108209 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ba95edd529a..8d9986ec6e76 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2005-12-07 Kaveh R. Ghazi + + * g++.dg/other/i386-1.C, gcc.c-torture/execute/990413-2.x, + gcc.dg/torture/pr18582-1.c, + gcc.target/i386/attributes-error.c: Also test on x86_64. + + * gcc.dg/pr18928-1.c: Test on all targets supporting pic. + 2005-12-07 Volker Reichelt PR c++/19397 diff --git a/gcc/testsuite/g++.dg/other/i386-1.C b/gcc/testsuite/g++.dg/other/i386-1.C index 5dc781fbe3e0..8f03a33f2087 100644 --- a/gcc/testsuite/g++.dg/other/i386-1.C +++ b/gcc/testsuite/g++.dg/other/i386-1.C @@ -1,5 +1,6 @@ -/* { dg-do run { target i?86-*-* } } */ +/* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-march=pentium4" } */ +/* { dg-require-effective-target ilp32 } */ #include #include diff --git a/gcc/testsuite/gcc.c-torture/execute/990413-2.x b/gcc/testsuite/gcc.c-torture/execute/990413-2.x index 039cecea4aa7..58be1c0e0972 100644 --- a/gcc/testsuite/gcc.c-torture/execute/990413-2.x +++ b/gcc/testsuite/gcc.c-torture/execute/990413-2.x @@ -1,3 +1,3 @@ # This test is x86 specific. -if { ! [istarget "i?86-*-*"] } { return 1 } -return 0 +if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } { return 0 } +return 1 diff --git a/gcc/testsuite/gcc.dg/pr18928-1.c b/gcc/testsuite/gcc.dg/pr18928-1.c index 3a0107deefa4..406b2fcabbd2 100644 --- a/gcc/testsuite/gcc.dg/pr18928-1.c +++ b/gcc/testsuite/gcc.dg/pr18928-1.c @@ -1,5 +1,5 @@ /* PR rtl-optimization/18928 */ -/* { dg-do compile { target i?86-*-linux* } } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fPIC" } */ const char *toHex( unsigned short u ) diff --git a/gcc/testsuite/gcc.dg/torture/pr18582-1.c b/gcc/testsuite/gcc.dg/torture/pr18582-1.c index d222dabd4154..6195939053ea 100644 --- a/gcc/testsuite/gcc.dg/torture/pr18582-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr18582-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-msse3" } */ typedef char v16qi __attribute__((vector_size (16))); typedef float v4sf __attribute__((vector_size (16))); diff --git a/gcc/testsuite/gcc.target/i386/attributes-error.c b/gcc/testsuite/gcc.target/i386/attributes-error.c index 05c21299ac58..7dc2d95f1082 100644 --- a/gcc/testsuite/gcc.target/i386/attributes-error.c +++ b/gcc/testsuite/gcc.target/i386/attributes-error.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target ilp32 } */ void foo1(int i, int j) __attribute__((fastcall, cdecl)); /* { dg-error "not compatible" } */ void foo2(int i, int j) __attribute__((fastcall, stdcall)); /* { dg-error "not compatible" } */