]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-inline.c (expand_call_inline): Don' mess with _DECL
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 15:32:40 +0000 (15:32 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 15:32:40 +0000 (15:32 +0000)
        fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54585 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-inline.c

index f89e38770fb8ef284d5f34ef0e567c22c5bf8758..2910d4cfaba8d5a7b1fc2cbb1d0cdf57838f58aa 100644 (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
index 145cfe8f75cf02950c54417cf4d598d9b6055368..7bb0a4aefde3f5732f6da8c8fc548f86ad2c2b27 100644 (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