re PR c++/16260 (ICE in template function)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 29 Jun 2004 11:10:11 +0000 (11:10 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 29 Jun 2004 11:10:11 +0000 (11:10 +0000)
commitfe88415f1b385b2dfc11f54422ff414f643df9e0
tree8def500d734e8c86faa6708912a0e710a0d4154c
parent962fe3950f5130476f665b08be7db6b5552e8a3b
re PR c++/16260 (ICE in template function)

cp:
        PR c++/16260
        * parser.c (cp_parser_template_declaration_after_export): Disable
        access checks here ...
        (cp_parser_class_specifier): ... not here.
testsuite:
        PR c++/16260
        * g++.dg/parse/crash15.C: New.

From-SVN: r83851
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash15.C [new file with mode: 0644]