tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave the PHIs value undefined.
2009-03-28 Richard Guenther <rguenther@suse.de> * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave the PHIs value undefined. From-SVN: r145193
This commit is contained in:
parent
bc6600ab2a
commit
fbb789d49a
|
@ -1,3 +1,8 @@
|
|||
2009-03-28 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave
|
||||
the PHIs value undefined.
|
||||
|
||||
2009-03-28 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* tree-pass.h (pass_fixup_cfg): New pass.
|
||||
|
|
|
@ -892,7 +892,7 @@ copy_prop_visit_phi_node (gimple phi)
|
|||
memory reference of all the other arguments. */
|
||||
if (phi_val.value == NULL_TREE)
|
||||
{
|
||||
phi_val.value = arg_val->value;
|
||||
phi_val.value = arg_val->value ? arg_val->value : arg;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue