From 3df3a202d7e51a69f285879579ee4bfa859c26c6 Mon Sep 17 00:00:00 2001 From: ghazi Date: Thu, 8 Dec 2005 01:26:45 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108209 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/g++.dg/other/i386-1.C | 3 ++- gcc/testsuite/gcc.c-torture/execute/990413-2.x | 4 ++-- gcc/testsuite/gcc.dg/pr18928-1.c | 2 +- gcc/testsuite/gcc.dg/torture/pr18582-1.c | 2 +- gcc/testsuite/gcc.target/i386/attributes-error.c | 3 ++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ba95edd529..8d9986ec6e7 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 5dc781fbe3e..8f03a33f208 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 039cecea4aa..58be1c0e097 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 3a0107deefa..406b2fcabbd 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 d222dabd415..6195939053e 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 05c21299ac5..7dc2d95f108 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" } */ -- 2.11.4.GIT