Commit bb03c710 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

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
parent ee2ca2a2
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> 2002-04-21 Hans-Peter Nilsson <hp@axis.com>
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c. * g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
......
# Scratch files aren't implemented for mmixware # Scratch files aren't implemented for mmixware
# (_stat is a stub and files can't be deleted). # (_stat is a stub and files can't be deleted).
# Similar restrictions exist for most simulators.
if { [istarget "mmix-knuth-mmixware"] } { if { [istarget "mmix-knuth-mmixware"]
set torture_execute_xfail "mmix-knuth-mmixware" || [istarget "cris-*-elf"] } {
set torture_execute_xfail [istarget]
} }
return 0 return 0
# Scratch files aren't implemented for mmixware # Scratch files aren't implemented for mmixware
# (_stat is a stub and files can't be deleted). # (_stat is a stub and files can't be deleted).
# Similar restrictions exist for most simulators.
if { [istarget "mmix-knuth-mmixware"] } { if { [istarget "mmix-knuth-mmixware"]
set torture_execute_xfail "mmix-knuth-mmixware" || [istarget "cris-*-elf"] } {
set torture_execute_xfail [istarget]
} }
return 0 return 0
# Scratch files aren't implemented for mmixware # Scratch files aren't implemented for mmixware
# (_stat is a stub and files can't be deleted). # (_stat is a stub and files can't be deleted).
# Similar restrictions exist for most simulators.
if { [istarget "mmix-knuth-mmixware"] } { if { [istarget "mmix-knuth-mmixware"]
set torture_execute_xfail "mmix-knuth-mmixware" || [istarget "cris-*-elf"] } {
set torture_execute_xfail [istarget]
} }
return 0 return 0
# Scratch files aren't implemented for mmixware # Scratch files aren't implemented for mmixware
# (_stat is a stub and files can't be deleted). # (_stat is a stub and files can't be deleted).
# Similar restrictions exist for most simulators.
if { [istarget "mmix-knuth-mmixware"] } { if { [istarget "mmix-knuth-mmixware"]
set torture_execute_xfail "mmix-knuth-mmixware" || [istarget "cris-*-elf"] } {
set torture_execute_xfail [istarget]
} }
return 0 return 0
# Various intrinsics not implemented and not implementable; will fail at # Various intrinsics not implemented and not implementable; will fail at
# link time. # link time.
if { [istarget "mmix-knuth-mmixware"] } { if { [istarget "mmix-knuth-mmixware"]
set torture_compile_xfail "mmix-knuth-mmixware" || [istarget "cris-*-elf"] } {
set torture_compile_xfail [istarget]
} }
return 0 return 0
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
ASM_SIMPLIFY_DWARF_ADDR hook. */ ASM_SIMPLIFY_DWARF_ADDR hook. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -fpic -g" } */ /* { dg-options "-O2 -fpic -g" } */
/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */
static inline char * static inline char *
bar (unsigned long x, char *y) bar (unsigned long x, char *y)
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-Wall" } */ /* { 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 /* Compile with -Wall to get a warning if built-in and system wchar_t don't
match. */ match. */
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-Wall" } */ /* { 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 /* Compile with -Wall to get a warning if built-in and system wint_t don't
match. */ match. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment