On 7/8/19 3:32 AM, Eric Botcazou wrote:
> Hi,
>
> a couple of fixes for the RTL middle-end this time, with the same goal of
> preventing instructions from inheriting random source location information
> in the debug info generated by the compiler.
>
> Tested on x86_64-suse-linux, both GCC and GDB, OK for mainline?
>
>
> 2019-07-08 Eric Botcazou <ebotca...@adacore.com>
>
> * emit-rtl.c (set_insn_locations): New function moved from...
> * function.c (set_insn_locations): ...here.
> * ira-emit.c (emit_moves): Propagate location of the first instruction
> to the inserted move instructions.
> * reg-stack.c (compensate_edge): Set the location if the sequence is
> inserted on the edge.
> * rtl.h (set_insn_locations): Declare.
OK
jeff