diff options
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))); |