[Bug c/12560] New: [tree-ssa] Error revocery problem with enum

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 9 22:33:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [tree-ssa] Error revocery problem with enum
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu

falk@juist:/tmp% cat min.c

foo()
enum { a = b };

falk@juist:/tmp% gcc --version
gcc (GCC) 3.5-tree-ssa 20031009 (merged 20031005)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

falk@juist:/tmp% gcc -c min.c
min.c: In function `foo':

min.c:2: error: `b' undeclared (first use in this function)
min.c:2: error: (Each undeclared identifier is reported only once
min.c:2: error: for each function it appears in.)
min.c:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



More information about the Gcc-bugs mailing list