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++/22172] [3.4 Regression] Internal compiler error, seg fault.



------- Comment #17 from reichelt at gcc dot gnu dot org  2005-11-15 19:14 -------
Subject: Bug 22172

Author: reichelt
Date: Tue Nov 15 19:14:21 2005
New Revision: 107037

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107037
Log:
        PR c++/19253
        PR c++/22172
        Backport from mainline:
        2005-11-02  Mark Mitchell  <mark@codesourcery.com>

        * parser.c (cp_parser_postfix_expression): Use
        cp_parser_elaborated_type_specifier to handle typename-types in
        functional casts.
        (cp_parser_enclosed_argument_list): Skip ahead to the end of the
        template argument list if the closing ">" is not found.


        Backport from mainline:
        2005-11-02  Mark Mitchell  <mark@codesourcery.com>

        PR c++/19253
        * g++.dg/parse/typename10.C: New test.

        Backport from mainline:
        2005-10-08  James A. Morrison  <phython@gcc.gnu.org>

        PR c++/22172
        * g++.dg/parse/crash30.C: New test.


Added:
    branches/gcc-3_4-branch/gcc/testsuite/g++.dg/parse/crash30.C
    branches/gcc-3_4-branch/gcc/testsuite/g++.dg/parse/typename10.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


-- 


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


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