diff options
Diffstat (limited to 'gcc-4.4.0/gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc-4.4.0/gcc/tree-ssa-threadupdate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc-4.4.0/gcc/tree-ssa-threadupdate.c b/gcc-4.4.0/gcc/tree-ssa-threadupdate.c index b6d2fafaa..71a34957b 100644 --- a/gcc-4.4.0/gcc/tree-ssa-threadupdate.c +++ b/gcc-4.4.0/gcc/tree-ssa-threadupdate.c @@ -325,9 +325,11 @@ create_edge_and_update_destination_phis (struct redirection_data *rd) for (gsi = gsi_start_phis (e->dest); !gsi_end_p (gsi); gsi_next (&gsi)) { gimple phi = gsi_stmt (gsi); - + source_location locus; int indx = rd->outgoing_edge->dest_idx; - add_phi_arg (phi, gimple_phi_arg_def (phi, indx), e); + + locus = gimple_phi_arg_location (phi, indx); + add_phi_arg (phi, gimple_phi_arg_def (phi, indx), e, locus); } } |