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 <ebotca...@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