This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Remap goto_locus on edges during inlining
- From: Jeff Law <law at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Jun 2018 14:11:56 -0600
- Subject: Re: [patch] Remap goto_locus on edges during inlining
- References: <1959532.xT2u3vGzl1@polaris>
On 06/26/2018 02:54 AM, Eric Botcazou wrote:
> Hi,
>
> this makes sure the goto_locus present (or not) on edges is properly remapped
> during inlining.
>
> Tested on x86-64/Linux, OK for the mainline?
>
>
> 2018-06-26 Eric Botcazou <ebotcazou@adacore.com>
>
> * tree-inline.c (remap_location): New function extracted from...
> (copy_edges_for_bb): Add ID parameter. Remap goto_locus.
> (copy_phis_for_bb): ...here. Call remap_location.
> (copy_cfg_body): Adjust call to copy_edges_for_bb.
OK.
jeff