From 079e0f619684ff63b32e0fa02f460f57e271e3b4 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 8 Jul 2019 21:37:33 +0000 Subject: emit-rtl.c (set_insn_locations): New function moved from... * 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. From-SVN: r273247 --- gcc/rtl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index 31fba82..a4fde4e 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -4338,6 +4338,7 @@ extern void insn_locations_init (void); extern void insn_locations_finalize (void); extern void set_curr_insn_location (location_t); extern location_t curr_insn_location (void); +extern void set_insn_locations (rtx_insn *, location_t); /* rtl-error.c */ extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *) -- cgit v1.1