aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2006-02-15 01:08:53 +0000
committerEric Christopher <echristo@apple.com>2006-02-15 01:08:53 +0000
commitcdc98f5ca5bc8f5664a2c5b7b46e542ff54c11a0 (patch)
tree9de805cab8ab94ed790e0d165a6f7f1fe58228fc /gcc/testsuite
parent2c8a9c25f7e255a70fc5810131619c0212d878dc (diff)
==> gcc/ChangeLog.apple-ppc <==
2006-02-14 Eric Christopher <echristo@apple.com> Radar 4331439 * config/rs6000/rs6000.c (rs6000_handle_longcall_attribute): Disable for 64-bit Mach-O. * config/rs6000/darwin.h (SUBTARGET_OPTIONS): Disable longcall only for Mach-O. ==> gcc/testsuite/ChangeLog.apple-ppc <== 2006-02-14 Eric Christopher <echristo@apple.com> Radar 4385016 4331438 * gcc.apple/altivec-maltivec-1.c: xfail for 64bit. * gcc.apple/altivec-faltivec-1.c: Ditto. * gcc.apple/altivec-faltivec-2.c: Ditto. * gcc.apple/default-cpu-1.c: Skip for 64bit. * gcc.apple/default-cpu-2.c: Ditto. * gcc.apple/align-test-5c: Ditto. * gcc.apple/asm-test-nofralloc.c: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111007 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog.apple-ppc11
-rw-r--r--gcc/testsuite/gcc.apple/align-test-5c.c3
-rw-r--r--gcc/testsuite/gcc.apple/altivec-faltivec-1.c11
-rw-r--r--gcc/testsuite/gcc.apple/altivec-faltivec-2.c11
-rw-r--r--gcc/testsuite/gcc.apple/altivec-maltivec-1.c11
-rw-r--r--gcc/testsuite/gcc.apple/asm-test-nofralloc.c2
-rw-r--r--gcc/testsuite/gcc.apple/default-cpu-1.c3
-rw-r--r--gcc/testsuite/gcc.apple/default-cpu-2.c3
8 files changed, 42 insertions, 13 deletions
diff --git a/gcc/testsuite/ChangeLog.apple-ppc b/gcc/testsuite/ChangeLog.apple-ppc
index c5eb15abe56..192717eba5c 100644
--- a/gcc/testsuite/ChangeLog.apple-ppc
+++ b/gcc/testsuite/ChangeLog.apple-ppc
@@ -1,3 +1,14 @@
+2006-02-14 Eric Christopher <echristo@apple.com>
+
+ Radar 4385016 4331438
+ * gcc.apple/altivec-maltivec-1.c: xfail for 64bit.
+ * gcc.apple/altivec-faltivec-1.c: Ditto.
+ * gcc.apple/altivec-faltivec-2.c: Ditto.
+ * gcc.apple/default-cpu-1.c: Skip for 64bit.
+ * gcc.apple/default-cpu-2.c: Ditto.
+ * gcc.apple/align-test-5c: Ditto.
+ * gcc.apple/asm-test-nofralloc.c: Ditto.
+
2006-02-14 Mike Stump <mrs@apple.com>
Radar 4415216
diff --git a/gcc/testsuite/gcc.apple/align-test-5c.c b/gcc/testsuite/gcc.apple/align-test-5c.c
index 707a9c6a215..4c6eea88813 100644
--- a/gcc/testsuite/gcc.apple/align-test-5c.c
+++ b/gcc/testsuite/gcc.apple/align-test-5c.c
@@ -4,8 +4,7 @@
/* { dg-do run } */
/* { dg-options "-malign-mac68k -DSIZE=10" } */
-/* dg-skip-if would be better, should be in the next merge after 2004-01. */
-/* { dg-xfail-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/*
* GCC alignment test for command line options for setting alignment modes.
diff --git a/gcc/testsuite/gcc.apple/altivec-faltivec-1.c b/gcc/testsuite/gcc.apple/altivec-faltivec-1.c
index 71fe7d79706..e531c2c61a1 100644
--- a/gcc/testsuite/gcc.apple/altivec-faltivec-1.c
+++ b/gcc/testsuite/gcc.apple/altivec-faltivec-1.c
@@ -1,5 +1,7 @@
/* APPLE LOCAL file AltiVec */
/* { dg-do compile { target powerpc*-*-* } } */
+/* For 64-bit we need 64-bit headers. */
+/* { dg-xfail-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-mcpu=G3 -O3 -finline-limit=9999 -faltivec -Wa,-force_cpusubtype_ALL -fdump-ipa-cgraph -S" } */
/* Inliner should not inline AltiVec(tm) functions when -faltivec is on. */
/* <rdar://problem/3837835> Selective inlining of functions that use Altivec */
@@ -130,6 +132,9 @@ main()
exit(0);
}
-/* { dg-final { scan-tree-dump-times "callee has AltiVec" 2 "cgraph" } } */
-/* { dg-final { scan-assembler-not "vIntDotProduct" } } */
-/* { dg-final { scan-assembler "mainInt" } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-tree-dump-times "callee has AltiVec" 2 "cgraph" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler-not "vIntDotProduct" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler "mainInt" } } } */
diff --git a/gcc/testsuite/gcc.apple/altivec-faltivec-2.c b/gcc/testsuite/gcc.apple/altivec-faltivec-2.c
index fe376397d6c..699a5ce810e 100644
--- a/gcc/testsuite/gcc.apple/altivec-faltivec-2.c
+++ b/gcc/testsuite/gcc.apple/altivec-faltivec-2.c
@@ -1,5 +1,7 @@
/* APPLE LOCAL file AltiVec */
/* { dg-do compile { target powerpc*-*-* } } */
+/* For 64-bit we need 64-bit headers. */
+/* { dg-xfail-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-O3 -finline-limit=9999 -faltivec -Wa,-force_cpusubtype_ALL -fdump-ipa-cgraph -S" } */
/* Inliner should inline always-inline AltiVec(tm) functions when -faltivec is on. */
/* <rdar://problem/3837835> Selective inlining of functions that use Altivec */
@@ -130,6 +132,9 @@ main()
exit(0);
}
-/* { dg-final { scan-tree-dump-times "callee has AltiVec" 0 "cgraph" } } */
-/* { dg-final { scan-assembler-not "vIntDotProduct" } } */
-/* { dg-final { scan-assembler-not "mainInt" } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-tree-dump-times "callee has AltiVec" 0 "cgraph" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler-not "vIntDotProduct" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler-not "mainInt" } } } */
diff --git a/gcc/testsuite/gcc.apple/altivec-maltivec-1.c b/gcc/testsuite/gcc.apple/altivec-maltivec-1.c
index 52181bde5be..c23542ce6ce 100644
--- a/gcc/testsuite/gcc.apple/altivec-maltivec-1.c
+++ b/gcc/testsuite/gcc.apple/altivec-maltivec-1.c
@@ -1,5 +1,7 @@
/* APPLE LOCAL file AltiVec */
/* { dg-do compile { target powerpc*-*-* } } */
+/* For 64-bit we need 64-bit headers. */
+/* { dg-xfail-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-O3 -finline-limit=9999 -maltivec -Wa,-force_cpusubtype_ALL -fdump-ipa-cgraph -S" } */
/* Inliner should inline AltiVec(tm) functions normally when -maltivec is on. */
/* <rdar://problem/3837835> Selective inlining of functions that use Altivec */
@@ -130,6 +132,9 @@ main()
exit(0);
}
-/* { dg-final { scan-tree-dump-times "callee has AltiVec" 0 "cgraph" } } */
-/* { dg-final { scan-assembler-not "vIntDotProduct" } } */
-/* { dg-final { scan-assembler-not "mainInt" } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-tree-dump-times "callee has AltiVec" 0 "cgraph" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler-not "vIntDotProduct" } } } */
+/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags]
+ { scan-assembler-not "mainInt" } } } */
diff --git a/gcc/testsuite/gcc.apple/asm-test-nofralloc.c b/gcc/testsuite/gcc.apple/asm-test-nofralloc.c
index 19b4907e173..1d4550d76b1 100644
--- a/gcc/testsuite/gcc.apple/asm-test-nofralloc.c
+++ b/gcc/testsuite/gcc.apple/asm-test-nofralloc.c
@@ -1,5 +1,7 @@
/* APPLE LOCAL begin radar 4187164 */
/* { dg-do run { target powerpc*-*-darwin* } } */
+/* This testcase isn't 64-bit safe. */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-fasm-blocks" } */
#include <stdio.h>
diff --git a/gcc/testsuite/gcc.apple/default-cpu-1.c b/gcc/testsuite/gcc.apple/default-cpu-1.c
index 92c33764e52..52a45b85e0d 100644
--- a/gcc/testsuite/gcc.apple/default-cpu-1.c
+++ b/gcc/testsuite/gcc.apple/default-cpu-1.c
@@ -1,5 +1,7 @@
/* Test default cpu type */
/* { dg-do compile { target powerpc*-*-darwin* } } */
+/* This test doesn't make sense on 64-bit */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-mmacosx-version-min=10.5" } */
int main()
{
@@ -7,4 +9,3 @@ int main()
}
/* { dg-final { scan-assembler "machine ppc7400" } } */
-
diff --git a/gcc/testsuite/gcc.apple/default-cpu-2.c b/gcc/testsuite/gcc.apple/default-cpu-2.c
index 4cb4c3e897c..83b01242f41 100644
--- a/gcc/testsuite/gcc.apple/default-cpu-2.c
+++ b/gcc/testsuite/gcc.apple/default-cpu-2.c
@@ -1,5 +1,7 @@
/* Test default cpu type */
/* { dg-do compile { target powerpc*-*-darwin* } } */
+/* This test doesn't make sense on 64-bit darwin. */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
/* { dg-options "-mmacosx-version-min=10.4" } */
int main()
{
@@ -8,4 +10,3 @@ int main()
/* { dg-final { scan-assembler "machine ppc" } } */
/* { dg-final { scan-assembler-not "machine ppc7400" } } */
-