diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 69ea0640397b..6fd67544e882 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 25 02:01:02 1998 Jason Merrill + + * decl2.c (constructor_name_full): Handle TYPENAME_TYPE. + Tue Mar 24 16:12:01 1998 Mark Mitchell * tree.c (mapcar): When dealing with a DECL, use it's constant diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 1fbe9a5b8566..82fd16a56ae6 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1958,7 +1958,8 @@ constructor_name_full (thing) tree thing; { if (TREE_CODE (thing) == TEMPLATE_TYPE_PARM - || TREE_CODE (thing) == TEMPLATE_TEMPLATE_PARM) + || TREE_CODE (thing) == TEMPLATE_TEMPLATE_PARM + || TREE_CODE (thing) == TYPENAME_TYPE) thing = TYPE_NAME (thing); else if (IS_AGGR_TYPE_CODE (TREE_CODE (thing))) {