[Bug c/21589] New: FAIL: gcc.dg/noreturn-7.c (test for warnings, line 21)

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 15 18:53:00 GMT 2005


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



More information about the Gcc-bugs mailing list