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/sched-rgn.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/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 1417577..1630a3d 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -2321,8 +2321,12 @@ debug_dependencies (void) if (n < 0) fprintf (sched_dump, "%s\n", GET_NOTE_INSN_NAME (n)); else - fprintf (sched_dump, "line %d, file %s\n", n, - NOTE_SOURCE_FILE (insn)); + { + expanded_location xloc; + NOTE_EXPANDED_LOCATION (xloc, insn); + fprintf (sched_dump, "line %d, file %s\n", + xloc.line, xloc.file); + } } else fprintf (sched_dump, " {%s}\n", GET_RTX_NAME (GET_CODE (insn))); |