Commit 0d0f605c by Gabriel Dos Reis Committed by Gabriel Dos Reis

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
parent c92bcccb
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
specifier for a location_t.
(text_specifies_location): New function.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment