[Bug testsuite/25831] New: FAIL: gcc.dg/20050922-1.c (test for excess errors)

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 17 22:21:00 GMT 2006


Executing on host: /test/gnu/gcc-4.0/objdir/gcc/xgcc
-B/test/gnu/gcc-4.0/objdir/
gcc/ /test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c   -O1 -std=c99 
-lm
   -o ./20050922-1.exe    (timeout = 300)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:8:20: error: stdint.h:
N
o such file or directory
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:13: error: parse error
b
efore 'f'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:13: error: parse error
b
efore '*' token
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:14: warning: return
type
 defaults to 'int'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c: In function 'f':
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:15: error: 'uint32_t'
un
declared (first use in this function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:15: error: (Each
undecla
red identifier is reported only once
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:15: error: for each
func
tion it appears in.)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:15: error: parse error
b
efore 'A'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c: At top level:
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:18: warning: type
defaul
ts to 'int' in declaration of 'A'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:18: error: 'B'
undeclare
d here (not in a function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:18: warning: data
defini
tion has no type or storage class
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:19: error: parse error
b
efore 'for'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:22: warning: type
defaul
ts to 'int' in declaration of 'A'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:22: error: redefinition
of 'A'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:18: error: previous
defi
nition of 'A' was here
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:22: error: 'S'
undeclare
d here (not in a function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:23: error: 'k'
undeclare
d here (not in a function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:23: warning: data
defini
tion has no type or storage class
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:25: warning: type
defaul
ts to 'int' in declaration of 'm'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:25: warning: data
defini
tion has no type or storage class
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:26: warning: type
defaul
ts to 'int' in declaration of 'k'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:26: error: 'L'
undeclare
d here (not in a function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:26: warning: data
defini
tion has no type or storage class
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:27: warning: type
defaul
ts to 'int' in declaration of 'B'
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:28: warning: data
defini
tion has no type or storage class
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:29: error: parse error
b
efore '}' token
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c: In function 'main':
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:36: error: 'uint32_t'
un
declared (first use in this function)
/test/gnu/gcc-4.0/gcc/gcc/testsuite/gcc.dg/20050922-1.c:36: error: parse error
b
efore 'S'
compiler exited with status 1

I think "stdint.h" should be changed to "stdlib.h".


-- 
           Summary: FAIL: gcc.dg/20050922-1.c (test for excess errors)
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25831



More information about the Gcc-bugs mailing list