(build_method_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20411
138bc75d-0d04-0410-961f-
82ee72b054a4
+1998-06-10 Jason Merrill <jason@yorick.cygnus.com>
+
+ * call.c (build_scoped_method_call): Fix thinko.
+ (build_method_call): Likewise.
+
1998-06-10 Dave Brolley <brolley@cygnus.com>
* decl2.c (lang_decode_option): New argc/argv interface.
/* OK */;
else if (TREE_CODE (tmp) == IDENTIFIER_NODE)
{
- if (IS_AGGR_TYPE (basetype) && tmp == constructor_name (basetype))
+ if (IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
tmp = basetype;
else
tmp = get_type_value (tmp);
tmp = name;
else if (TREE_CODE (name) == IDENTIFIER_NODE)
{
- if (IS_AGGR_TYPE (basetype) && tmp == constructor_name (basetype))
+ if (IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
tmp = basetype;
else
tmp = get_type_value (tmp);