to a GIMPLE sequence or to a statement list (keeping this a
GENERIC interface). */
def = unshare_expr (def);
+ auto loc = gimple_phi_arg_location (phi, exit->dest_idx);
remove_phi_node (&psi, false);
/* Propagate constants immediately, but leave an unused initialization
gimple_seq stmts;
def = force_gimple_operand (def, &stmts, false, NULL_TREE);
gassign *ass = gimple_build_assign (rslt, def);
- gimple_set_location (ass,
- gimple_phi_arg_location (phi, exit->dest_idx));
+ gimple_set_location (ass, loc);
gimple_seq_add_stmt (&stmts, ass);
/* If def's type has undefined overflow and there were folded