diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e2e33ea6558..9c88afbf2ef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-01-21 Ian Lance Taylor + + PR tree-optimization/13000 + * gcc.dg/20040206-1.c: Change warning to point where function is + being inlined. + 2005-01-21 Giovanni Bajo PR c++/19208 diff --git a/gcc/testsuite/gcc.dg/20040206-1.c b/gcc/testsuite/gcc.dg/20040206-1.c index e47b5981a45..ae5ef334c65 100644 --- a/gcc/testsuite/gcc.dg/20040206-1.c +++ b/gcc/testsuite/gcc.dg/20040206-1.c @@ -7,5 +7,5 @@ The warning about "no return statement in function returning non-void" is PR 13000. */ -static int foo (int a __attribute__((unused)) ) { } /* { dg-warning "return" "" { xfail *-*-* } } */ -int main (void) { return foo (0); } +static int foo (int a __attribute__((unused)) ) { } +int main (void) { return foo (0); } /* { dg-warning "control may reach end" } */