Commit b9ddcfac by Jason Merrill Committed by Jason Merrill

* class.c (build_vbase_path): Propagate the result type properly.

From-SVN: r16279
parent e9a25f70
Sun Nov 2 15:04:12 1997 Jason Merrill <jason@yorick.cygnus.com>
* class.c (build_vbase_path): Propagate the result type properly.
1997-11-01 Brendan Kehoe <brendan@lisa.cygnus.com>
* lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
......
......@@ -341,7 +341,8 @@ build_vbase_path (code, type, expr, path, alias_this)
if (null_expr)
{
TREE_OPERAND (expr, 2) = nonnull_expr;
TREE_TYPE (TREE_OPERAND (expr, 1)) = TREE_TYPE (nonnull_expr);
TREE_TYPE (expr) = TREE_TYPE (TREE_OPERAND (expr, 1))
= TREE_TYPE (nonnull_expr);
}
else
expr = nonnull_expr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment