aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-06-26 19:12:53 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-06-26 19:12:53 +0000
commit4540727afe11267220f725c694e04e01de19f9d0 (patch)
treed75b784e82b645eeee84ae9397960f4ce291e240
parent44b1b18cb9afcfee150fe6be4c6b67155685cc22 (diff)
downloadgcc-4540727afe11267220f725c694e04e01de19f9d0.zip
gcc-4540727afe11267220f725c694e04e01de19f9d0.tar.gz
gcc-4540727afe11267220f725c694e04e01de19f9d0.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20000419-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/cpp-mi.c2
-rw-r--r--gcc/testsuite/gcc.dg/cpp-tradwarn1.c8
-rw-r--r--gcc/testsuite/gcc.dg/cpp-unc.c2
5 files changed, 12 insertions, 8 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 538baa8..76c2d7d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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/g++.niklas/Makefile.in,
g++.old-deja/g++.niklas/configure.in,
diff --git a/gcc/testsuite/gcc.dg/20000419-1.c b/gcc/testsuite/gcc.dg/20000419-1.c
index 1e1b660..c4400ee 100644
--- a/gcc/testsuite/gcc.dg/20000419-1.c
+++ b/gcc/testsuite/gcc.dg/20000419-1.c
@@ -11,5 +11,5 @@
__REDIRECT (a, b, c)
__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 native } 12 } */
+/* { dg-bogus "used without args" "no args, 1" { target *-*-* } 11 } */
+/* { dg-bogus "used without args" "no args, 1" { target *-*-* } 12 } */
diff --git a/gcc/testsuite/gcc.dg/cpp-mi.c b/gcc/testsuite/gcc.dg/cpp-mi.c
index 3d05587..0584a62 100644
--- a/gcc/testsuite/gcc.dg/cpp-mi.c
+++ b/gcc/testsuite/gcc.dg/cpp-mi.c
@@ -12,7 +12,7 @@
/* { dg-do compile }
{ 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"
diff --git a/gcc/testsuite/gcc.dg/cpp-tradwarn1.c b/gcc/testsuite/gcc.dg/cpp-tradwarn1.c
index 550cbe2..f96e1bc 100644
--- a/gcc/testsuite/gcc.dg/cpp-tradwarn1.c
+++ b/gcc/testsuite/gcc.dg/cpp-tradwarn1.c
@@ -24,7 +24,7 @@
#assert baz(quux) /* { 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 native } 23 } */
-/* { dg-warning "ISO C does not" "extension warning" { target native } 24 } */
-/* { dg-warning "ISO C does not" "extension warning" { target native } 25 } */
+/* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 22 } */
+/* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 23 } */
+/* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 24 } */
+/* { dg-warning "ISO C does not" "extension warning" { target *-*-* } 25 } */
diff --git a/gcc/testsuite/gcc.dg/cpp-unc.c b/gcc/testsuite/gcc.dg/cpp-unc.c
index 110a8a7..ba5c221 100644
--- a/gcc/testsuite/gcc.dg/cpp-unc.c
+++ b/gcc/testsuite/gcc.dg/cpp-unc.c
@@ -37,4 +37,4 @@ ignored
/* dg.exp doesn't read the included files for tags, so we have to
do them explicitly here. */
-/* { dg-error "#if" "unc1.h: unterminated #if" { target native } 3 } */
+/* { dg-error "#if" "unc1.h: unterminated #if" { target *-*-* } 3 } */