[Bug c++/14215] New: tree check: expected identifier_node, have integer_cst in c_parse_error, at c-common.c:5913

hans dot buchmann at fhso dot ch gcc-bugzilla@gcc.gnu.org
Thu Feb 19 19:30:00 GMT 2004


compiling the code:

class ClassA
{
  enum Enum {ITEM } //<------ my mistake
 private:
};

with: 

/home/buchmann/cvs/eo3s/htc/bin/g++ -c -o bug.o bug.cc


produces the output:

bug.cc:4: internal compiler error: tree check: expected identifier_node, have
integer_cst in c_parse_error, at c-common.c:5913
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

compiler version :g++ -v


Reading specs from
/home/buchmann/cvs/host/gcc-3.4/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: /home/buchmann/cvs/dist/gcc-3.4-20040114/configure -v
--prefix=/home/buchmann/cvs/host/gcc-3.4/ --enable-languages=c,c++ --with-newlib
Thread model: posix
gcc version 3.4.0 20040114 (experimental)

Best regards
Hans Buchmann

-- 
           Summary: tree check: expected identifier_node, have integer_cst
                    in c_parse_error, at c-common.c:5913
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hans dot buchmann at fhso dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list