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 (2/n)


On 7/3/19 7:35 AM, Eric Botcazou wrote:
> Hi,
> 
> this is a series of fixes for the exception handling code, 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-03  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* except.c (emit_to_new_bb_before): Make sure to put a location on SEQ.
> 	* tree-eh.c (replace_goto_queue_1) <GIMPLE_GOTO>: Propagate location.
> 	(emit_eh_dispatch): Delete.
> 	(lower_catch): Emit the eh_dispatch manually and set the location of
> 	the first catch statement onto it.
> 	(lower_eh_filter): Emit the eh_dispatch manually and set location.
> 	(lower_eh_dispatch): Propagate location.
> 	* tree-outof-ssa.c (set_location_for_edge): Handle EH edges specially.
> 	(eliminate_build): Likewise.
> 
OK
jeff


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