Bug 21589 - [3.4 only] FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
Summary: [3.4 only] FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.4.4
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 18:53 UTC by John David Anglin
Modified: 2006-02-28 10:16 UTC (History)
1 user (show)

See Also:
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2005-05-15 18:53:53 UTC
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.
Comment 1 Gabriel Dos Reis 2006-02-28 10:16:27 UTC
fixed for 4.0.0; won't fix for 3.4.6