re PR tree-optimization/47074 (tree check fail in create_access_replacement)
PR tree-optimization/47074 * gimple-fold.c (gimplify_and_update_call_from_tree): Call pop_gimplify_context if returning early. From-SVN: r168325
This commit is contained in:
parent
d6c63324b5
commit
9fdc58ded7
@ -1,3 +1,9 @@
|
||||
2010-12-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/47074
|
||||
* gimple-fold.c (gimplify_and_update_call_from_tree): Call
|
||||
pop_gimplify_context if returning early.
|
||||
|
||||
2010-12-28 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* Makefile.in (graphite.o): Depends on DIAGNOSTIC_CORE_H.
|
||||
|
@ -942,6 +942,7 @@ gimplify_and_update_call_from_tree (gimple_stmt_iterator *si_p, tree expr)
|
||||
which gets optimized away by C++ gimplification. */
|
||||
if (gimple_seq_empty_p (stmts))
|
||||
{
|
||||
pop_gimplify_context (NULL);
|
||||
if (gimple_in_ssa_p (cfun))
|
||||
{
|
||||
unlink_stmt_vdef (stmt);
|
||||
|
Loading…
Reference in New Issue
Block a user