Commit 4540727a by Zack Weinberg Committed by Zack Weinberg

20000419-1.c, [...]: Use "target *-*-*", not "target native", in case we are cross-compiling.

	* gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
	gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in
	case we are cross-compiling.

From-SVN: r34716
parent 44b1b18c
2000-06-26 Zack Weinberg <zack@wolery.cumb.org> 2000-06-26 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/20000419-1.c, gcc.dg/cpp-mi.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Use "target *-*-*", not "target native", in
case we are cross-compiling.
* g++.old-deja/Makefile.in, g++.old-deja/configure.in, * g++.old-deja/Makefile.in, g++.old-deja/configure.in,
g++.old-deja/g++.niklas/Makefile.in, g++.old-deja/g++.niklas/Makefile.in,
g++.old-deja/g++.niklas/configure.in, g++.old-deja/g++.niklas/configure.in,
......
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
__REDIRECT (a, b, c) __REDIRECT (a, b, c)
__ASMNAME2 (__USER_LABEL_PREFIX__, harumph) __ASMNAME2 (__USER_LABEL_PREFIX__, harumph)
/* { dg-bogus "used without args" "no args, 1" { target native } 11 } */ /* { dg-bogus "used without args" "no args, 1" { target *-*-* } 11 } */
/* { dg-bogus "used without args" "no args, 1" { target native } 12 } */ /* { dg-bogus "used without args" "no args, 1" { target *-*-* } 12 } */
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
/* { dg-do compile } /* { dg-do compile }
{ dg-options "-H" } { dg-options "-H" }
{ dg-error "mic\.h\n\[^\n\]*micc\.h\n\[^\n\]*mind\.h\n\[^\n\]*mindp\.h\n\[^\n\]*mix\.h" "redundant include check" { target native } 0 } */ { dg-error "mic\.h\n\[^\n\]*micc\.h\n\[^\n\]*mind\.h\n\[^\n\]*mindp\.h\n\[^\n\]*mix\.h" "redundant include check" { target *-*-* } 0 } */
#include "cpp-mic.h" #include "cpp-mic.h"
#include "cpp-mic.h" #include "cpp-mic.h"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#assert baz(quux) /* { dg-bogus "indented" "^ #ext" } */ #assert baz(quux) /* { dg-bogus "indented" "^ #ext" } */
# assert quux(weeble) /* { dg-bogus "indented" "^ # ext" } */ # assert quux(weeble) /* { dg-bogus "indented" "^ # ext" } */
/* { dg-warning "ISO C does not" "extension warning" { target native } 22 } */ /* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 22 } */
/* { dg-warning "ISO C does not" "extension warning" { target native } 23 } */ /* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 23 } */
/* { dg-warning "ISO C does not" "extension warning" { target native } 24 } */ /* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 24 } */
/* { dg-warning "ISO C does not" "extension warning" { target native } 25 } */ /* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 25 } */
...@@ -37,4 +37,4 @@ ignored ...@@ -37,4 +37,4 @@ ignored
/* dg.exp doesn't read the included files for tags, so we have to /* dg.exp doesn't read the included files for tags, so we have to
do them explicitly here. */ do them explicitly here. */
/* { dg-error "#if" "unc1.h: unterminated #if" { target native } 3 } */ /* { dg-error "#if" "unc1.h: unterminated #if" { target *-*-* } 3 } */
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