aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-06-06 07:32:25 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-06-06 07:32:25 +0000
commitffa4602f4d54c80b978b3f6c8c376fbf75b72277 (patch)
treefc8f51ea70b82f892ac226dafb7defa86a52c93b /gcc/rtl.h
parent28a4a292fc1717544e68ed2f6107b3f0cbe10aed (diff)
downloadgcc-ffa4602f4d54c80b978b3f6c8c376fbf75b72277.zip
gcc-ffa4602f4d54c80b978b3f6c8c376fbf75b72277.tar.gz
gcc-ffa4602f4d54c80b978b3f6c8c376fbf75b72277.tar.bz2
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
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 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 */