Commit fb20fc45 by Nick Clifton Committed by Nick Clifton

Test all builds, not just native

From-SVN: r28623
parent 227cf171
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> 1999-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/local3.C: Removed XFAIL. * g++.old-deja/g++.other/local3.C: Removed XFAIL.
......
...@@ -9,5 +9,5 @@ func(void) ...@@ -9,5 +9,5 @@ func(void)
{ {
FOO(i FOO(i
= 4) = 4)
else; /* { dg-error "parse error" "error on this line" { target native } { 12 } } */ else; /* { dg-error "parse error" "error on this line" { target *-*-* } { 12 } } */
} }
...@@ -15,14 +15,14 @@ struct vtable { ...@@ -15,14 +15,14 @@ struct vtable {
struct vtable mtable = { struct vtable mtable = {
malloc, malloc,
free free
}; /* { dg-warning "missing initializer" "warning regression" { target native } {18} } */ }; /* { dg-warning "missing initializer" "warning regression" { target *-*-* } {18} } */
/* { dg-warning "initialization for `mtable._realloc'" "warning regression" { target native } {18} } */ /* { dg-warning "initialization for `mtable._realloc'" "warning regression" { target *-*-* } {18} } */
struct vtable mtable2 = { struct vtable mtable2 = {
._malloc = malloc, ._malloc = malloc,
._realloc = realloc ._realloc = realloc
}; /* { dg-warning "missing initializer" "warning regression" { target native } {24} } */ }; /* { dg-warning "missing initializer" "warning regression" { target *-*-* } {24} } */
/* { dg-warning "initialization for `mtable2._free'" "warning regression" { target native } {24} } */ /* { dg-warning "initialization for `mtable2._free'" "warning regression" { target *-*-* } {24} } */
struct vtable mtable3 = { struct vtable mtable3 = {
._free = free, ._free = free,
......
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