tree-inline.c (copy_edges_for_bb): Minor tweak.
commit29cbd18b58a4fa3f2ee57b25df270cec5a4d1adf
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 21 Jun 2018 16:59:28 +0000 (21 16:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 21 Jun 2018 16:59:28 +0000 (21 16:59 +0000)
tree28b5c759c6baf61c94710cffb4e008f5d5a38c31
parente9df6a8f03d5c6422350865a374e5f5b948c05ed
tree-inline.c (copy_edges_for_bb): Minor tweak.

* tree-inline.c (copy_edges_for_bb): Minor tweak.
(maybe_move_debug_stmts_to_successors): Also reset the locus of the
debug statement when resetting its value.
(expand_call_inline): Copy the locus of the call onto the assignment
of the return value, if any.  Use local variable in more cases.

From-SVN: r261853
gcc/ChangeLog
gcc/tree-inline.c