aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2002-06-13 15:32:40 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2002-06-13 15:32:40 +0000
commit0d0f605c7216d03116aea77a93975d41e4a35cd1 (patch)
tree87fe168785b6fdde0ed115de8c8a183044a9c4a8 /gcc/tree-inline.c
parentc92bcccb955acf88560d86494889b49c0c757ee0 (diff)
downloadgcc-0d0f605c7216d03116aea77a93975d41e4a35cd1.zip
gcc-0d0f605c7216d03116aea77a93975d41e4a35cd1.tar.gz
gcc-0d0f605c7216d03116aea77a93975d41e4a35cd1.tar.bz2
tree-inline.c (expand_call_inline): Don' mess with _DECL fields.
* tree-inline.c (expand_call_inline): Don' mess with _DECL fields. From-SVN: r54585
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 145cfe8..7bb0a4a 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