summaryrefslogtreecommitdiff
path: root/gcc/gimplify-me.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-03-25 11:43:03 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-03-25 11:43:03 +0000
commit40b0722fa3de25b33ea751f3dbd0ed69dddc8f7a (patch)
treed60f9c2b1e610c029be48cafa5a1956a12ea3999 /gcc/gimplify-me.c
parent4a5798de3eabbe16398c11dcdb4cead64299d212 (diff)
downloadgcc-40b0722fa3de25b33ea751f3dbd0ed69dddc8f7a.tar.gz
re PR lto/60635 (ICE when mixing C and Fortran lto1: error: use operand missing for stmt)
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. From-SVN: r208811
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);
}