summaryrefslogtreecommitdiff
path: root/gcc/gimplify-me.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 11:43:03 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 11:43:03 +0000
commit2637468bf4d1cddfb5b8aaebb6ef2bd17227a159 (patch)
treed60f9c2b1e610c029be48cafa5a1956a12ea3999 /gcc/gimplify-me.c
parentdda4feeed801dbb1cff3ba9a456238824a3a1b9b (diff)
downloadgcc-2637468bf4d1cddfb5b8aaebb6ef2bd17227a159.tar.gz
2014-03-25 Richard Biener <rguenther@suse.de>
PR middle-end/60635 * gimplify-me.c (gimple_regimplify_operands): Update the re-gimplifed stmt. * gfortran.dg/lto/pr60635_0.f90: New testcase. * gfortran.dg/lto/pr60635_1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify-me.c')
-rw-r--r--gcc/gimplify-me.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gimplify-me.c b/gcc/gimplify-me.c
index bee6e3e3d8d..05e986a8ef3 100644
--- a/gcc/gimplify-me.c
+++ b/gcc/gimplify-me.c
@@ -315,6 +315,8 @@ gimple_regimplify_operands (gimple stmt, gimple_stmt_iterator *gsi_p)
gsi_insert_after (gsi_p, post_stmt, GSI_NEW_STMT);
pop_gimplify_context (NULL);
+
+ update_stmt (stmt);
}