From ffa4602f4d54c80b978b3f6c8c376fbf75b72277 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 6 Jun 2014 07:32:25 +0000 Subject: rtl.h (insn_location): Declare. * rtl.h (insn_location): Declare. * cfgcleanup.c (try_forward_edges): Compare the locus of locations with UNKNOWN_LOCATION. * emit-rtl.c (insn_location): New function. * final.c (notice_source_line): Check that the instruction has a location before retrieving it and use insn_location. * modulo-sched.c (loop_single_full_bb_p): Likewise. * print-rtl.c (print_rtx): Likewise. From-SVN: r211305 --- 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 51cfae5..6ec91a8 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2130,6 +2130,7 @@ extern rtx prev_cc0_setter (rtx); extern int insn_line (const_rtx); extern const char * insn_file (const_rtx); extern tree insn_scope (const_rtx); +extern expanded_location insn_location (const_rtx); extern location_t prologue_location, epilogue_location; /* In jump.c */ -- cgit v1.1