diff options
author | nathan <> | 2005-10-17 10:19:12 +0000 |
---|---|---|
committer | nathan <> | 2005-10-17 10:19:12 +0000 |
commit | b6b2404ae0a826b188bee2a9716e4258dd4de35e (patch) | |
tree | 7d8824489867a310bab522176b3c8b9255de8127 /gcc/cp/ChangeLog | |
parent | d71ea04b159424995ebbf66551c7721f640d1422 (diff) |
cp:
PR c++/21353
* g++.dg/template/defarg6.C: New.
testsuite:
PR c++/21353
* decl.c (check_default_argument): Don't check
processing_template_decl or uses_template_parms here.
(grokparms): Only call check_default_argument when not processing
a template decl.
* parser.c (cp_parser_late_parsing_default_arg): Call
check_default_argument when not processing a template decl.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9305e162458..a7259695193 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2005-10-17 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/21353 + * decl.c (check_default_argument): Don't check + processing_template_decl or uses_template_parms here. + (grokparms): Only call check_default_argument when not processing + a template decl. + * parser.c (cp_parser_late_parsing_default_arg): Call + check_default_argument when not processing a template decl. + 2005-10-16 Mark Mitchell <mark@codesourcery.com> PR c++/24389 |