aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-08-09 09:55:37 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-08-09 09:55:37 +0000
commitfb20fc45459ec031a10d83a5bc6327edbcad5176 (patch)
tree185581872a2685d28b1fb418e4c58dc55b3669ce
parent227cf17127926cf07f801555ec6f905df82eddd2 (diff)
downloadgcc-fb20fc45459ec031a10d83a5bc6327edbcad5176.zip
gcc-fb20fc45459ec031a10d83a5bc6327edbcad5176.tar.gz
gcc-fb20fc45459ec031a10d83a5bc6327edbcad5176.tar.bz2
Test all builds, not just native
From-SVN: r28623
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gcc.dg/990413-1.c2
-rw-r--r--gcc/testsuite/gcc.misc-tests/m-un-2.c8
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 51d6bcf..2203f87 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+1999-08-09 Nick Clifton <nickc@cygnus.com>
+
+ * gcc.misc-tests/m-un-2.c: Expect the warnings for all builds, not
+ just native ones.
+
+ * gcc.dg/990413-1.c: Expect the parse error for all builds, not
+ just native ones.
+
1999-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/local3.C: Removed XFAIL.
diff --git a/gcc/testsuite/gcc.dg/990413-1.c b/gcc/testsuite/gcc.dg/990413-1.c
index 591159a..9abddb9 100644
--- a/gcc/testsuite/gcc.dg/990413-1.c
+++ b/gcc/testsuite/gcc.dg/990413-1.c
@@ -9,5 +9,5 @@ func(void)
{
FOO(i
= 4)
- else; /* { dg-error "parse error" "error on this line" { target native } { 12 } } */
+ else; /* { dg-error "parse error" "error on this line" { target *-*-* } { 12 } } */
}
diff --git a/gcc/testsuite/gcc.misc-tests/m-un-2.c b/gcc/testsuite/gcc.misc-tests/m-un-2.c
index 81d6dca..06ff526 100644
--- a/gcc/testsuite/gcc.misc-tests/m-un-2.c
+++ b/gcc/testsuite/gcc.misc-tests/m-un-2.c
@@ -15,14 +15,14 @@ struct vtable {
struct vtable mtable = {
malloc,
free
-}; /* { dg-warning "missing initializer" "warning regression" { target native } {18} } */
- /* { dg-warning "initialization for `mtable._realloc'" "warning regression" { target native } {18} } */
+}; /* { dg-warning "missing initializer" "warning regression" { target *-*-* } {18} } */
+ /* { dg-warning "initialization for `mtable._realloc'" "warning regression" { target *-*-* } {18} } */
struct vtable mtable2 = {
._malloc = malloc,
._realloc = realloc
-}; /* { dg-warning "missing initializer" "warning regression" { target native } {24} } */
- /* { dg-warning "initialization for `mtable2._free'" "warning regression" { target native } {24} } */
+}; /* { dg-warning "missing initializer" "warning regression" { target *-*-* } {24} } */
+ /* { dg-warning "initialization for `mtable2._free'" "warning regression" { target *-*-* } {24} } */
struct vtable mtable3 = {
._free = free,