20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 22 Apr 2002 01:19:06 +0000 (01:19 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 22 Apr 2002 01:19:06 +0000 (01:19 +0000)
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
cris-*-elf* and mmix-*-*.
* g77.f-torture/execute/io0.x: xfail for cris-*-elf.
* g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x,
g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
Ditto.
* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52595

gcc/testsuite/ChangeLog
gcc/testsuite/g77.f-torture/execute/20001201.x
gcc/testsuite/g77.f-torture/execute/6367.x
gcc/testsuite/g77.f-torture/execute/io0.x
gcc/testsuite/g77.f-torture/execute/io1.x
gcc/testsuite/g77.f-torture/execute/u77-test.x
gcc/testsuite/gcc.dg/20020415-1.c
gcc/testsuite/gcc.dg/wchar_t-1.c
gcc/testsuite/gcc.dg/wint_t-1.c

index 99ab61171f780cb9b523709b01982d4f506399c9..247cadef4b2c60195de94400458c0ef54fedb617 100644 (file)
@@ -1,3 +1,14 @@
+2002-04-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
+       cris-*-elf* and mmix-*-*.
+       * g77.f-torture/execute/io0.x: xfail for cris-*-elf.
+       * g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x,
+       g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
+       Ditto.
+       * gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
+       * gcc.dg/wchar_t-1.c: Ditto.
+
 2002-04-21  Hans-Peter Nilsson  <hp@axis.com>
 
        * g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
index 027dcb5ccae4d2283b5e10ea26c00c56a54f409c..7087bab4960c0324bcd56d66ed6080fbc59159ce 100644 (file)
@@ -1,8 +1,10 @@
 # Scratch files aren't implemented for mmixware
 # (_stat is a stub and files can't be deleted).
+# Similar restrictions exist for most simulators.
 
-if { [istarget "mmix-knuth-mmixware"] } {
-       set torture_execute_xfail "mmix-knuth-mmixware"
+if { [istarget "mmix-knuth-mmixware"]
+     || [istarget "cris-*-elf"] } {
+       set torture_execute_xfail [istarget]
 }
 
 return 0
index 027dcb5ccae4d2283b5e10ea26c00c56a54f409c..7087bab4960c0324bcd56d66ed6080fbc59159ce 100644 (file)
@@ -1,8 +1,10 @@
 # Scratch files aren't implemented for mmixware
 # (_stat is a stub and files can't be deleted).
+# Similar restrictions exist for most simulators.
 
-if { [istarget "mmix-knuth-mmixware"] } {
-       set torture_execute_xfail "mmix-knuth-mmixware"
+if { [istarget "mmix-knuth-mmixware"]
+     || [istarget "cris-*-elf"] } {
+       set torture_execute_xfail [istarget]
 }
 
 return 0
index 027dcb5ccae4d2283b5e10ea26c00c56a54f409c..7087bab4960c0324bcd56d66ed6080fbc59159ce 100644 (file)
@@ -1,8 +1,10 @@
 # Scratch files aren't implemented for mmixware
 # (_stat is a stub and files can't be deleted).
+# Similar restrictions exist for most simulators.
 
-if { [istarget "mmix-knuth-mmixware"] } {
-       set torture_execute_xfail "mmix-knuth-mmixware"
+if { [istarget "mmix-knuth-mmixware"]
+     || [istarget "cris-*-elf"] } {
+       set torture_execute_xfail [istarget]
 }
 
 return 0
index 027dcb5ccae4d2283b5e10ea26c00c56a54f409c..7087bab4960c0324bcd56d66ed6080fbc59159ce 100644 (file)
@@ -1,8 +1,10 @@
 # Scratch files aren't implemented for mmixware
 # (_stat is a stub and files can't be deleted).
+# Similar restrictions exist for most simulators.
 
-if { [istarget "mmix-knuth-mmixware"] } {
-       set torture_execute_xfail "mmix-knuth-mmixware"
+if { [istarget "mmix-knuth-mmixware"]
+     || [istarget "cris-*-elf"] } {
+       set torture_execute_xfail [istarget]
 }
 
 return 0
index ff4c1e29f0b115d212f029fda50b9b265593f3ef..469732f518d419799ebaafb7188da812de6e2176 100644 (file)
@@ -1,8 +1,9 @@
 # Various intrinsics not implemented and not implementable; will fail at
 # link time.
 
-if { [istarget "mmix-knuth-mmixware"] } {
-       set torture_compile_xfail "mmix-knuth-mmixware"
+if { [istarget "mmix-knuth-mmixware"]
+     || [istarget "cris-*-elf"] } {
+       set torture_compile_xfail [istarget]
 }
 
 return 0
index 06b3ce041b285e99d46c42d65e759d4d07dc76a6..de7fc614f48998fcf3687493016c639a0e582d1b 100644 (file)
@@ -3,6 +3,7 @@
    ASM_SIMPLIFY_DWARF_ADDR hook.  */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fpic -g" } */
+/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */
 
 static inline char *
 bar (unsigned long x, char *y)
index 37866773a216dd12f09a74b231699cad098f7fe9..f0ca09a844d738c5e1581ada26e2fb492fea83ab 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-Wall" } */
-/* { dg-excess-errors "Newlib has no wchar.h" { target mmix-knuth-mmixware } } */
+/* { dg-excess-errors "Newlib has no wchar.h" { target mmix-knuth-mmixware cris-*-elf } } */
 
 /* Compile with -Wall to get a warning if built-in and system wchar_t don't
    match.  */
index 1e89b9a9886aa0ff86181d8e1e953528e8bb60af..7224a21db9a1c6d139d3c824598e4a32a7ef63d1 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-Wall" } */
-/* { dg-excess-errors "Newlib has no wchar.h" { target mmix-knuth-mmixware } } */
+/* { dg-excess-errors "Newlib has no wchar.h" { target mmix-knuth-mmixware cris-*-elf } } */
 
 /* Compile with -Wall to get a warning if built-in and system wint_t don't
    match.  */