diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-01 13:12:38 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-01 13:12:38 +0000 |
commit | f7ea7934ed9f1b61ee0bc909766d5f27f57f6dec (patch) | |
tree | ee523d8c2169abe3c1283f0dac4bba9c723af292 /gcc/gimplify.c | |
parent | 34de8ff95a73c3744f1c811ce5e04ebd8117fe27 (diff) | |
download | gcc-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.c | 2 |
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; } |