diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-30 18:21:54 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-30 18:21:54 +0000 |
commit | 512e0fec202bedd46efc579717091ad3e79e514b (patch) | |
tree | e54e6194b2452bb0b1eea27a54b905b6672b2f10 /gcc/sched-rgn.c | |
parent | 7bd3dcc4338f994821b15d15b47f76779c6b323c (diff) | |
download | gcc-512e0fec202bedd46efc579717091ad3e79e514b.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83922 138bc75d-0d04-0410-961f-82ee72b054a4
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 14175776a4a..1630a3d297a 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))); |