OSDN Git Service

PR tree-optimization/13000
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2005 19:05:52 +0000 (19:05 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2005 19:05:52 +0000 (19:05 +0000)
* gcc.dg/20040206-1.c: Change warning to point where function is
being inlined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94025 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20040206-1.c

index e2e33ea..9c88afb 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-21  Ian Lance Taylor  <ian@c2micro.com>
+
+       PR tree-optimization/13000
+       * gcc.dg/20040206-1.c: Change warning to point where function is
+       being inlined.
+
 2005-01-21  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
 
        PR c++/19208
index e47b598..ae5ef33 100644 (file)
@@ -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" } */