diff options
author | mmitchel <> | 2005-10-16 22:17:53 +0000 |
---|---|---|
committer | mmitchel <> | 2005-10-16 22:17:53 +0000 |
commit | 22c5ae5e5444043fc9661d88e95f966b29420ecc (patch) | |
tree | 3618dcffe2507c601f8aff3bb13ef29ad2ae0551 /gcc/cp/ChangeLog | |
parent | 205653515ef8fbd9b792dabdef5f5169634a145c (diff) |
PR c++/24389
* decl2.c (mark_used): Use uses_template_parms instead of
dependent_type_p.
* init.c (constant_value_1): Handle uninstantiated templates
specially.
* pt.c (instantiate_decl): Add sanity check.
PR c++/24389
* g++.dg/template/static21.C: New test.
* g++.dg/template/static21-a.cc: Likewise.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2896ce26dc7..9305e162458 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,14 @@ 2005-10-16 Mark Mitchell <mark@codesourcery.com> + PR c++/24389 + * decl2.c (mark_used): Use uses_template_parms instead of + dependent_type_p. + * init.c (constant_value_1): Handle uninstantiated templates + specially. + * pt.c (instantiate_decl): Add sanity check. + +2005-10-16 Mark Mitchell <mark@codesourcery.com> + PR c++/22173 * typeck.c (check_template_keyword): Fix thinko. |