From 0d0f605c7216d03116aea77a93975d41e4a35cd1 Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 13 Jun 2002 15:32:40 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-inline.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f89e38770fb..2910d4cfaba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-13 Gabriel Dos Reis + + * tree-inline.c (expand_call_inline): Don' mess with _DECL + fields. + 2002-06-13 Gabriel Dos Reis * diagnostic.c (output_format): Recognize "%H" as a format 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 -- 2.30.2