aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-01-03 21:58:48 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-01-03 21:58:48 +0100
commite3a174d0d1eef07442fca5867cfcdd05f3b845f8 (patch)
treefcf5c9f1f35dfaaf30eb261142828e2c780f0293 /gcc/rtl.h
parenta594cff3b56f22153e50759c9eb4e0dbe54f3388 (diff)
downloadgcc-e3a174d0d1eef07442fca5867cfcdd05f3b845f8.zip
gcc-e3a174d0d1eef07442fca5867cfcdd05f3b845f8.tar.gz
gcc-e3a174d0d1eef07442fca5867cfcdd05f3b845f8.tar.bz2
re PR debug/83645 (ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers)
PR debug/83645 * var-tracking.c (delete_vta_debug_insn): New inline function. (delete_vta_debug_insns): Add USE_CFG argument, if true, walk just insns from get_insns () to NULL instead of each bb separately. Use delete_vta_debug_insn. No longer static. (vt_debug_insns_local, variable_tracking_main_1): Adjust delete_vta_debug_insns callers. * rtl.h (delete_vta_debug_insns): Declare. * final.c (rest_of_handle_final): Call delete_vta_debug_insns instead of variable_tracking_main. * gcc.dg/pr83645.c: New test. From-SVN: r256189
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 96513f4..e2a9c06 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4254,6 +4254,7 @@ extern GTY(()) rtx stack_limit_rtx;
/* In var-tracking.c */
extern unsigned int variable_tracking_main (void);
+extern void delete_vta_debug_insns (bool);
/* In stor-layout.c. */
extern void get_mode_bounds (scalar_int_mode, int,