From: Nick Clifton Date: Mon, 9 Aug 1999 09:55:37 +0000 (+0000) Subject: Test all builds, not just native X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb20fc45459ec031a10d83a5bc6327edbcad5176;p=gcc.git Test all builds, not just native From-SVN: r28623 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 51d6bcf4f36..2203f8706d5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +1999-08-09 Nick Clifton + + * 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 * 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 591159abc67..9abddb942fd 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 81d6dca363f..06ff5269ee2 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,