tweak
authorJason Merrill <jason@gcc.gnu.org>
Tue, 19 May 1998 02:53:39 +0000 (22:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 19 May 1998 02:53:39 +0000 (22:53 -0400)
From-SVN: r19860

gcc/cp/init.c

index 2fdacd157fe2d17f2444881bdb77e725c475288a..0d0fa8c80237acced57fa5d6d7013e32424a510e 100644 (file)
@@ -1472,6 +1472,8 @@ build_member_call (type, name, parmlist)
   if (TREE_CODE (name) == TEMPLATE_ID_EXPR
       && TREE_CODE (type) == NAMESPACE_DECL)
     {
+      /* 'name' already refers to the decls from the namespace, since we
+        hit do_identifier for template_ids.  */
       my_friendly_assert (is_overloaded_fn (TREE_OPERAND (name, 0)), 980519);
       return build_x_function_call (name, parmlist, current_class_ref);
     }