summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 7c03ca5b096..0999af941f4 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -411,7 +411,7 @@ xcoffout_declare_function (FILE *file, tree decl, const char *name)
/* Any pending .bi or .ei must occur before the .function pseudo op.
Otherwise debuggers will think that the function is in the previous
file and/or at the wrong line number. */
- xcoffout_source_file (file, DECL_SOURCE_FILE (decl), 0);
+ xcoffout_source_file (file, TREE_FILENAME (decl), 0);
dbxout_symbol (decl, 0);
/* .function NAME, TOP, MAPPING, TYPE, SIZE