diff options
author | Per Bothner <per@bothner.com> | 2004-06-30 11:21:54 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2004-06-30 11:21:54 -0700 |
commit | 9506ac2be5e52ce7e184be3c52d31421355b7ab4 (patch) | |
tree | e54e6194b2452bb0b1eea27a54b905b6672b2f10 /gcc/modulo-sched.c | |
parent | 6773e15fa5ac64bf67b19088e149f4d3cda2cf9a (diff) | |
download | gcc-9506ac2be5e52ce7e184be3c52d31421355b7ab4.zip gcc-9506ac2be5e52ce7e184be3c52d31421355b7ab4.tar.gz gcc-9506ac2be5e52ce7e184be3c52d31421355b7ab4.tar.bz2 |
Conditionally compile support for --enable-mapped_location.
* gengtype-lex.l: Temporary kludge to avoid duplicate typedef.
* gengtype.c: Update for now typdefs in input.h. More kludges.
* modulo-sched.c (sms_schedule): Use NOTE_EXPANDED_LOCATION macro.
* ra-debug.c (ra_print_rtl): Likewise.
* sched-rgn.c: Likewise.
* sched-vis.c: Likewise.
* rtl.h (gen_rtx_ASM_OPERANDS): Redefine if USE_MAPPED_LOCATION.
* stmt.c (expand_asm_operands): Adjust calls to gen_rtx_ASM_OPERANDS.
* tree-cfg.c: Use new macros and typedefs.
* tree-flow-inline.h: Likewise.
From-SVN: r83922
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r-- | gcc/modulo-sched.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 68eeb36..c14b58f 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -900,8 +900,12 @@ sms_schedule (FILE *dump_file) rtx line_note = find_line_note (tail); if (line_note) - fprintf (stats_file, "SMS bb %s %d (file, line)\n", - NOTE_SOURCE_FILE (line_note), NOTE_LINE_NUMBER (line_note)); + { + expanded_location xloc; + NOTE_EXPANDED_LOCATION (xloc, line_note); + fprintf (stats_file, "SMS bb %s %d (file, line)\n", + xloc.file, xloc.line); + } fprintf (stats_file, "SMS single-bb-loop\n"); if (profile_info && flag_branch_probabilities) { @@ -996,8 +1000,12 @@ sms_schedule (FILE *dump_file) rtx line_note = find_line_note (tail); if (line_note) - fprintf (stats_file, "SMS bb %s %d (file, line)\n", - NOTE_SOURCE_FILE (line_note), NOTE_LINE_NUMBER (line_note)); + { + expanded_location xloc; + NOTE_EXPANDED_LOCATION (xloc, line_note); + fprintf (stats_file, "SMS bb %s %d (file, line)\n", + xloc.file, xloc.line); + } fprintf (stats_file, "SMS single-bb-loop\n"); if (profile_info && flag_branch_probabilities) { |