This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21589] New: FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2005 18:53:54 -0000
- Subject: [Bug c/21589] New: FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.3/objdir/gc
c/ /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/noreturn-7.c -O2 -Wreturn-type -W
missing-noreturn -S -o noreturn-7.s (timeout = 300)
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/noreturn-7.c: In function `k':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/noreturn-7.c:42: warning: control reac
hes end of non-void function
output is:
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/noreturn-7.c: In function `k':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.dg/noreturn-7.c:42: warning: control reac
hes end of non-void function
FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
PASS: gcc.dg/noreturn-7.c (test for bogus messages, line 28)
PASS: gcc.dg/noreturn-7.c (test for bogus messages, line 35)
PASS: gcc.dg/noreturn-7.c (test for warnings, line 42)
PASS: gcc.dg/noreturn-7.c (test for excess errors)
This is fixed in 4.0.
--
Summary: FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21589