20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.

* 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
This commit is contained in:
Hans-Peter Nilsson 2002-04-22 01:19:06 +00:00 committed by Hans-Peter Nilsson
parent ee2ca2a22e
commit bb03c71049
9 changed files with 33 additions and 12 deletions

View 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.

View 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

View 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

View 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

View 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

View 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

View 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)

View 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. */

View 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. */