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++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error



------- Comment #8 from reichelt at gcc dot gnu dot org  2006-04-19 22:07 -------
Subject: Bug 26558

Author: reichelt
Date: Wed Apr 19 22:07:25 2006
New Revision: 113097

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113097
Log:
        PR c++/26558
        * parser.c (cp_parser_class_name): Check for invalid typenames.
        Rearrange code.

        * g++.dg/parse/template19.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/template19.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=26558


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