Test all builds, not just native

From-SVN: r28623
This commit is contained in:
Nick Clifton 1999-08-09 09:55:37 +00:00 committed by Nick Clifton
parent 227cf17127
commit fb20fc4545
3 changed files with 13 additions and 5 deletions

View File

@ -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.

View File

@ -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 } } */
}

View File

@ -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,