[Bug c++/27665] [4.0/4.1 regression] ICE writing class instead of typename

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 15 23:47:00 GMT 2006



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-06-15 23:47 -------
Subject: Bug 27665

Author: mmitchel
Date: Thu Jun 15 23:47:15 2006
New Revision: 114694

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114694
Log:
        PR c++/27665
        * parser.c (cp_parser_unqualified_id): Use constructor_name_p to
        identify destructors.
        (cp_parser_nested_name_specifier_opt): Remove invalid
        optimization.
        (cp_parser_template_id): Refine heuristic for determining whether
        we are entering a scope.
        PR c++/27665
        * g++.dg/template/crash52.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash52.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list