From: gdr Date: Thu, 13 Jun 2002 15:32:40 +0000 (+0000) Subject: * tree-inline.c (expand_call_inline): Don' mess with _DECL X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9424e462d3cccdc353dcd6dccaa4da0a9f0b977d;p=thirdparty%2Fgcc.git * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f89e38770fb8..2910d4cfaba8 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 145cfe8f75cf..7bb0a4aefde3 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