tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of released SSA names.

* tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of
released SSA names.

From-SVN: r154280
This commit is contained in:
Alexandre Oliva 2009-11-18 06:02:42 +00:00 committed by Alexandre Oliva
parent a3201927bb
commit 462b701b20
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-11-18 Alexandre Oliva <aoliva@redhat.com>
* tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of
released SSA names.
2009-11-18 Alexandre Oliva <aoliva@redhat.com>
PR debug/41888

View File

@ -383,8 +383,7 @@ insert_debug_temp_for_var_def (gimple_stmt_iterator *gsi, tree var)
dead SSA NAMEs. SSA verification shall catch any
errors. */
if ((!gsi && !gimple_bb (def_stmt))
|| !walk_gimple_op (def_stmt, find_released_ssa_name,
&wi))
|| walk_gimple_op (def_stmt, find_released_ssa_name, &wi))
no_value = true;
}