This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Small improvements to coverage info (3/n)


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  <ebotcazou@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]