summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-21 12:06:52 +0000
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-21 12:06:52 +0000
commitb0b165ab63d48ccf147b34c5312f976b3462476c (patch)
tree4e0a3cee6e34c4c7478bc68088f340ffdec2708c /gcc/testsuite/gcc.c-torture
parentf4673084b9af89fead20326078f04dfb24521dab (diff)
downloadgcc-b0b165ab63d48ccf147b34c5312f976b3462476c.tar.gz
* gcc.c-torture/compile/20000804-1.x: New file, this test fails
on 68HC11/HC12 due to the asm instruction. * gcc.c-torture/compile/20001205-1.x: New file, ditto. * gcc.c-torture/compile/920520-1.x: Likewise. * gcc.c-torture/compile/20001226-1.x: New file, this test fails on 68HC11/HC12 because the function is larger than 64K. * gcc.c-torture/compile/961203-1.x: New file, this test fails on 68HC11/HC12 because the structure is too large. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20000804-1.x10
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20001205-1.x8
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20001226-1.x9
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/920520-1.x9
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/961203-1.x7
5 files changed, 42 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000804-1.x b/gcc/testsuite/gcc.c-torture/compile/20000804-1.x
new file mode 100644
index 00000000000..7538c513f70
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20000804-1.x
@@ -0,0 +1,10 @@
+# This does not work on m68hc11 due to the use of an asm statement
+# to force a 'long long' (64-bits) to go in a register.
+
+global target_triplet
+if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
+ set torture_compile_xfail "$target_triplet"
+ return 1
+}
+
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/compile/20001205-1.x b/gcc/testsuite/gcc.c-torture/compile/20001205-1.x
new file mode 100644
index 00000000000..bde61fd93da
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20001205-1.x
@@ -0,0 +1,8 @@
+# This does not work on m68hc11 due to the asm statement which
+# forces two 'long' (32-bits) variables to go in registers.
+
+global target_triplet
+if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
+ set torture_compile_xfail "$target_triplet"
+}
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.x b/gcc/testsuite/gcc.c-torture/compile/20001226-1.x
new file mode 100644
index 00000000000..a8db223e1f9
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.x
@@ -0,0 +1,9 @@
+# This does not assemble on m68hc11 because the function is larger
+# than 64K.
+
+global target_triplet
+if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
+ set torture_compile_xfail "$target_triplet"
+ return 1
+}
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/compile/920520-1.x b/gcc/testsuite/gcc.c-torture/compile/920520-1.x
index 4cfce33b2dc..3bc5676dde7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920520-1.x
+++ b/gcc/testsuite/gcc.c-torture/compile/920520-1.x
@@ -1,2 +1,9 @@
-set options "-S"
+# This does not work on m68hc11 due to the asm which forces a
+# float or a double to go in a register.
+
+global target_triplet
+if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } {
+ set torture_compile_xfail "$target_triplet"
+ return 1
+}
return 0
diff --git a/gcc/testsuite/gcc.c-torture/compile/961203-1.x b/gcc/testsuite/gcc.c-torture/compile/961203-1.x
new file mode 100644
index 00000000000..ce8820d934c
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/961203-1.x
@@ -0,0 +1,7 @@
+# Array 'a' in this test is too large to fit in 64K.
+
+global target_triplet
+if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
+ set torture_compile_xfail "$target_triplet"
+}
+return 0