* gcc.dg/noreturn-1.c (foo5): Update function does return lineno.
authorRichard Henderson <rth@redhat.com>
Wed, 23 Jun 2004 02:51:06 +0000 (19:51 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 23 Jun 2004 02:51:06 +0000 (19:51 -0700)
From-SVN: r83535

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

index 62e888331653e026a64747c6dd592359c9188a19..b57899d4c68fe3ce09a4c8733b4699cbedae03b0 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-22  Richard Henderson  <rth@redhat.com>
+
+       * gcc.dg/noreturn-1.c (foo5): Update function does return lineno.
+
 2004-06-22  Loren James Rittle  <ljrittle@acm.org>
 
        * gcc.dg/builtins-config.h: Handle FreeBSD.
index 90660fa028c6fe6c1ca7881173cd8f2be8f254dd..21ad2fa8e53955a09b53183ddf23c21f05ebfe79 100644 (file)
@@ -35,8 +35,7 @@ void
 foo5(void)
 {
   return; /* { dg-warning "`noreturn' has a `return' statement" "detect invalid return" } */
-}
-/* { dg-warning "function does return" "detect return from noreturn" { target *-*-* } 37 } */
+} /* { dg-warning "function does return" "detect return from noreturn" } */
 
 extern void foo6(void);
 void