summaryrefslogtreecommitdiff
path: root/gcc/gimple-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-low.c')
-rw-r--r--gcc/gimple-low.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c
index 1f7ae2ffdac..dcbb560cab1 100644
--- a/gcc/gimple-low.c
+++ b/gcc/gimple-low.c
@@ -844,8 +844,7 @@ lower_builtin_setjmp (gimple_stmt_iterator *gsi)
/* Build 'DEST = 0' and insert. */
if (dest)
{
- g = gimple_build_assign (dest, fold_convert_loc (loc, TREE_TYPE (dest),
- integer_zero_node));
+ g = gimple_build_assign (dest, build_zero_cst (TREE_TYPE (dest)));
gimple_set_location (g, loc);
gimple_set_block (g, gimple_block (stmt));
gsi_insert_before (gsi, g, GSI_SAME_STMT);