summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-01 13:12:38 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-01 13:12:38 +0000
commitf7ea7934ed9f1b61ee0bc909766d5f27f57f6dec (patch)
treeee523d8c2169abe3c1283f0dac4bba9c723af292 /gcc/gimplify.c
parent34de8ff95a73c3744f1c811ce5e04ebd8117fe27 (diff)
downloadgcc-f7ea7934ed9f1b61ee0bc909766d5f27f57f6dec.tar.gz
2008-08-01 Richard Guenther <rguenther@suse.de>
PR middle-end/36997 * gimplify.c (gimplify_call_expr): Set error_mark_node on GS_ERROR. * gcc.dg/pr36997.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 0f5605abf81..e7fc1679aa3 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -2465,7 +2465,7 @@ gimplify_call_expr (tree *expr_p, gimple_seq *pre_p, bool want_value)
}
else
{
- *expr_p = NULL_TREE;
+ *expr_p = error_mark_node;
return GS_ERROR;
}