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
This commit is contained in:
Gabriel Dos Reis 2002-06-13 15:32:40 +00:00 committed by Gabriel Dos Reis
parent c92bcccb95
commit 0d0f605c72
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
* tree-inline.c (expand_call_inline): Don' mess with _DECL
fields.
2002-06-13 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.c (output_format): Recognize "%H" as a format

View File

@ -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