summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-13 15:32:40 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-13 15:32:40 +0000
commit9424e462d3cccdc353dcd6dccaa4da0a9f0b977d (patch)
tree87fe168785b6fdde0ed115de8c8a183044a9c4a8 /gcc/tree-inline.c
parent45dc76a2b98fb5988fc2aafd4a784c79943fa3b6 (diff)
downloadgcc-9424e462d3cccdc353dcd6dccaa4da0a9f0b977d.tar.gz
* tree-inline.c (expand_call_inline): Don' mess with _DECL
fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 145cfe8f75c..7bb0a4aefde 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -867,7 +867,7 @@ expand_call_inline (tp, walk_subtrees, data)
line numbers corresponding to the function we are calling. We
wrap the whole inlined body in an EXPR_WITH_FILE_AND_LINE as well
because individual statements don't record the filename. */
- push_srcloc (fn->decl.filename, fn->decl.linenum);
+ push_srcloc (DECL_SOURCE_FILE (fn), DECL_SOURCE_LINE (fn));
/* Build a statement-expression containing code to initialize the
arguments, the actual inline expansion of the body, and a label