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] Remap goto_locus on edges during inlining


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


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