aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-09-26 18:19:55 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-09-26 18:19:55 +0200
commit2186081438d522d8266dae13e9640447b7ad6189 (patch)
tree1703d97374f453dce244795360190c541f24f0af /gcc/gimple-fold.c
parent12b03642cb027437f4a0eddac8c7fd7849bfe149 (diff)
downloadgcc-2186081438d522d8266dae13e9640447b7ad6189.zip
gcc-2186081438d522d8266dae13e9640447b7ad6189.tar.gz
gcc-2186081438d522d8266dae13e9640447b7ad6189.tar.bz2
gimple-fold.c (gimplify_and_update_call_from_tree): Set gctx.into_ssa after push_gimplify_context.
* gimple-fold.c (gimplify_and_update_call_from_tree): Set gctx.into_ssa after push_gimplify_context. * gimple.c (gimple_build_call_valist): New function. * gimple.h (gimple_build_call_valist): New prototype. * tree-ssa-propagate.c (finish_update_gimple_call): New function. (update_gimple_call): Likewise. (update_call_from_tree): Use finish_update_gimple_call. * tree-ssa-propagate.h (update_gimple_call): New prototype. From-SVN: r179204
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index d754ea9..e345058 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -551,6 +551,7 @@ gimplify_and_update_call_from_tree (gimple_stmt_iterator *si_p, tree expr)
reaching_vuse = gimple_vuse (stmt);
push_gimplify_context (&gctx);
+ gctx.into_ssa = gimple_in_ssa_p (cfun);
if (lhs == NULL_TREE)
{