aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 7fff07e..e514d0b 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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)
{