From 1cc3d0854a26a83a3ac513e9d034fbba17a2ca94 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 Jun 2004 19:51:06 -0700 Subject: [PATCH] * gcc.dg/noreturn-1.c (foo5): Update function does return lineno. From-SVN: r83535 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/noreturn-1.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 62e88833165..b57899d4c68 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-06-22 Richard Henderson + + * gcc.dg/noreturn-1.c (foo5): Update function does return lineno. + 2004-06-22 Loren James Rittle * gcc.dg/builtins-config.h: Handle FreeBSD. diff --git a/gcc/testsuite/gcc.dg/noreturn-1.c b/gcc/testsuite/gcc.dg/noreturn-1.c index 90660fa028c..21ad2fa8e53 100644 --- a/gcc/testsuite/gcc.dg/noreturn-1.c +++ b/gcc/testsuite/gcc.dg/noreturn-1.c @@ -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 -- 2.30.2