* expr.c (expand_expr): Return const0_rtx, not error_mark_node.

From-SVN: r34991
This commit is contained in:
Kaveh R. Ghazi 2000-07-12 18:55:57 +00:00 committed by Kaveh Ghazi
parent 6fe8aebc3f
commit a592f28872
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* expr.c (expand_expr): Return const0_rtx, not error_mark_node.
2000-07-12 Richard Henderson <rth@cygnus.com>
* reload.c (push_secondary_reload): Make sure to add the new

View File

@ -7105,7 +7105,7 @@ expand_expr (exp, target, tmode, modifier)
case CONVERT_EXPR:
case REFERENCE_EXPR:
if (TREE_OPERAND (exp, 0) == error_mark_node)
return error_mark_node;
return const0_rtx;
if (TREE_CODE (type) == UNION_TYPE)
{