Commit ecfafc1c by Jason Merrill Committed by Jason Merrill

* rtti.c (build_dynamic_cast_1): Fix cut-and-paste error.

From-SVN: r23470
parent cba30eb8
1998-10-31 Jason Merrill <jason@yorick.cygnus.com>
* rtti.c (build_dynamic_cast_1): Fix cut-and-paste error.
1998-10-30 Mark Mitchell <mark@markmitchell.com>
* decl2.c (delete_sanity): Pass integer_zero_node, not
......
......@@ -566,7 +566,7 @@ build_dynamic_cast_1 (type, expr)
&& TREE_CODE (TREE_TYPE (op)) == RECORD_TYPE)
{
cp_warning ("dynamic_cast of `%#D' to `%#T' can never succeed",
expr, type);
op, type);
retval = build_int_2 (0, 0);
TREE_TYPE (retval) = type;
return retval;
......
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