aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-02-18 17:06:33 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2009-02-18 09:06:33 -0800
commit19e56697e4fab8cee82e87882a526835b5c2cb3e (patch)
treef0b51373e5c1985f56a6076659689160628cdf4b
parentb0adb0887ead7de014f38068b06eb86ce2b66303 (diff)
downloadgcc-19e56697e4fab8cee82e87882a526835b5c2cb3e.zip
gcc-19e56697e4fab8cee82e87882a526835b5c2cb3e.tar.gz
gcc-19e56697e4fab8cee82e87882a526835b5c2cb3e.tar.bz2
callabi.exp: Moved to ...
2009-02-18 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/callabi/callabi.exp: Moved to ... * gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run in 64bit mode. * gcc.target/x86_64/abi/callabi/func-1.c: Don't check target. * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. * gcc.target/x86_64/abi/callabi/pr38891.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise. * gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise. * gcc.dg/callabi/callabi.h: Moved to ... * gcc.target/x86_64/abi/callabi/callabi.h: Here. * gcc.dg/callabi/func-1.c: Moved to ... * gcc.target/x86_64/abi/callabi/func-1.c: Here. * gcc.dg/callabi/func-indirect.c: Moved to ... * gcc.target/x86_64/abi/callabi/func-indirect.c: Here. * gcc.dg/callabi/pr38891.c: Moved to ... * gcc.target/x86_64/abi/callabi/pr38891.c: Here. * gcc.dg/callabi/vaarg-1.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-1.c: Here. * gcc.dg/callabi/vaarg-2.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-2.c: Here. * gcc.dg/callabi/vaarg-3.c: Moved to ... * gcc.target/x86_64/abi/callabi/vaarg-3.c: Here. From-SVN: r144264
-rw-r--r--gcc/testsuite/ChangeLog35
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.exp (renamed from gcc/testsuite/gcc.dg/callabi/callabi.exp)5
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.h (renamed from gcc/testsuite/gcc.dg/callabi/callabi.h)0
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c (renamed from gcc/testsuite/gcc.dg/callabi/func-1.c)4
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c (renamed from gcc/testsuite/gcc.dg/callabi/func-indirect.c)2
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c (renamed from gcc/testsuite/gcc.dg/callabi/pr38891.c)2
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c (renamed from gcc/testsuite/gcc.dg/callabi/vaarg-1.c)2
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c (renamed from gcc/testsuite/gcc.dg/callabi/vaarg-2.c)2
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c (renamed from gcc/testsuite/gcc.dg/callabi/vaarg-3.c)2
9 files changed, 47 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9b8b8a9..60b17cd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,38 @@
+2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.dg/callabi/callabi.exp: Moved to ...
+ * gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run
+ in 64bit mode.
+
+ * gcc.target/x86_64/abi/callabi/func-1.c: Don't check target.
+ * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
+ * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
+ * gcc.target/x86_64/abi/callabi/pr38891.c: Likewise.
+ * gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise.
+ * gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise.
+ * gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise.
+
+ * gcc.dg/callabi/callabi.h: Moved to ...
+ * gcc.target/x86_64/abi/callabi/callabi.h: Here.
+
+ * gcc.dg/callabi/func-1.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/func-1.c: Here.
+
+ * gcc.dg/callabi/func-indirect.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/func-indirect.c: Here.
+
+ * gcc.dg/callabi/pr38891.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/pr38891.c: Here.
+
+ * gcc.dg/callabi/vaarg-1.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/vaarg-1.c: Here.
+
+ * gcc.dg/callabi/vaarg-2.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/vaarg-2.c: Here.
+
+ * gcc.dg/callabi/vaarg-3.c: Moved to ...
+ * gcc.target/x86_64/abi/callabi/vaarg-3.c: Here.
+
2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com>
PR target/38891
diff --git a/gcc/testsuite/gcc.dg/callabi/callabi.exp b/gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.exp
index 1c11ecc..e76d0c1 100644
--- a/gcc/testsuite/gcc.dg/callabi/callabi.exp
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.exp
@@ -19,6 +19,11 @@
# Load support procs.
load_lib gcc-dg.exp
+if { (![istarget x86_64-*-*] && ![istarget i?86-*-*])
+ || [is-effective-target ilp32] } then {
+ return
+}
+
# If a testcase doesn't have special options, use these.
global DEFAULT_CFLAGS
if ![info exists DEFAULT_CFLAGS] then {
diff --git a/gcc/testsuite/gcc.dg/callabi/callabi.h b/gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.h
index d008ad6..d008ad6 100644
--- a/gcc/testsuite/gcc.dg/callabi/callabi.h
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.h
diff --git a/gcc/testsuite/gcc.dg/callabi/func-1.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
index c727dbe..7d0b506 100644
--- a/gcc/testsuite/gcc.dg/callabi/func-1.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
@@ -1,7 +1,7 @@
/* Test for cross x86_64<->w64 abi standard calls.
*/
/* Origin: Kai Tietz <kai.tietz@onevision.com> */
-/* { dg-do run { target { x86_64-*-* } } } */
+/* { dg-do run } */
/* { dg-options "-std=gnu99 -ffast-math" } */
#include "callabi.h"
@@ -37,4 +37,4 @@ int main ()
!= func_native (1.0,2.0,3.0,1,2,3))
abort ();
return 0;
-} \ No newline at end of file
+}
diff --git a/gcc/testsuite/gcc.dg/callabi/func-indirect.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
index d7733bd..8c1cac8 100644
--- a/gcc/testsuite/gcc.dg/callabi/func-indirect.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
@@ -1,7 +1,7 @@
/* Test for cross x86_64<->w64 abi standard calls via variable.
*/
/* Origin: Kai Tietz <kai.tietz@onevision.com> */
-/* { dg-do run { target { x86_64-*-* } } } */
+/* { dg-do run } */
/* { dg-options "-std=gnu99 -ffast-math" } */
#include "callabi.h"
diff --git a/gcc/testsuite/gcc.dg/callabi/pr38891.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c
index 586e99f..d31b8c3 100644
--- a/gcc/testsuite/gcc.dg/callabi/pr38891.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c
@@ -1,6 +1,6 @@
/* Test for cross x86_64<->w64 abi standard calls.
*/
-/* { dg-do compile { target { x86_64-*-* } } } */
+/* { dg-do compile } */
/* { dg-options "-mno-sse" } */
#include "callabi.h"
diff --git a/gcc/testsuite/gcc.dg/callabi/vaarg-1.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
index 1e745e5..a6d8463 100644
--- a/gcc/testsuite/gcc.dg/callabi/vaarg-1.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
@@ -1,7 +1,7 @@
/* Test for cross x86_64<->w64 abi va_list calls.
*/
/* Origin: Kai Tietz <kai.tietz@onevision.com> */
-/* { dg-do run { target { x86_64-*-* } } } */
+/* { dg-do run } */
/* { dg-options "-std=gnu99" } */
#include "callabi.h"
diff --git a/gcc/testsuite/gcc.dg/callabi/vaarg-2.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
index c9b7161..e281e86 100644
--- a/gcc/testsuite/gcc.dg/callabi/vaarg-2.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
@@ -1,7 +1,7 @@
/* Test for cross x86_64<->w64 abi va_list calls.
*/
/* Origin: Kai Tietz <kai.tietz@onevision.com> */
-/* { dg-do run { target { x86_64-*-* } } } */
+/* { dg-do run } */
/* { dg-options "-std=gnu99" } */
#include "callabi.h"
diff --git a/gcc/testsuite/gcc.dg/callabi/vaarg-3.c b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
index d0d0687..7cca7ac 100644
--- a/gcc/testsuite/gcc.dg/callabi/vaarg-3.c
+++ b/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
@@ -1,7 +1,7 @@
/* Test for cross x86_64<->w64 abi va_list calls.
*/
/* Origin: Kai Tietz <kai.tietz@onevision.com> */
-/* { dg-do run { target { x86_64-*-* } } } */
+/* { dg-do run } */
/* { dg-options "-std=gnu99" } */
#include "callabi.h"