This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19762] [3.4 regression] ICE in invalid explicit instantiation of a destructor



------- Comment #8 from reichelt at gcc dot gnu dot org  2005-12-07 19:40 -------
Subject: Bug 19762

Author: reichelt
Date: Wed Dec  7 19:40:24 2005
New Revision: 108174

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108174
Log:
        PR c++/19397
        PR c++/19762
        PR c++/19764
        * parser.c (cp_parser_declarator_id): Check for error_mark_node
        before building a SCOPE_REF.

        * g++.dg/template/typedef3.C: New test.
        * g++.dg/template/dtor3.C: Fix error markers.

Added:
    branches/gcc-3_4-branch/gcc/testsuite/g++.dg/template/typedef3.C
Modified:
    branches/gcc-3_4-branch/gcc/cp/ChangeLog
    branches/gcc-3_4-branch/gcc/cp/parser.c
    branches/gcc-3_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-3_4-branch/gcc/testsuite/g++.dg/template/dtor3.C


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]