OSDN Git Service

* c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Nov 2000 00:16:18 +0000 (00:16 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Nov 2000 00:16:18 +0000 (00:16 +0000)
        lineno for the start of the function.

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

gcc/ChangeLog
gcc/c-decl.c

index 8aabe9e..33f3d53 100644 (file)
@@ -1,5 +1,10 @@
 2000-11-25  Richard Henderson  <rth@redhat.com>
 
+       * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
+       lineno for the start of the function.
+
+2000-11-25  Richard Henderson  <rth@redhat.com>
+
        * dwarf2out.c (file_table, file_table_allocated): Remove.
        (file_table_allocated): Remove.
        (struct file_table): New.
index bfaf451..7806819 100644 (file)
@@ -6806,7 +6806,7 @@ c_expand_body (fndecl, nested_p)
 
   /* Initialize the RTL code for the function.  */
   current_function_decl = fndecl;
-  init_function_start (fndecl, input_filename, lineno);
+  init_function_start (fndecl, input_filename, DECL_SOURCE_LINE (fndecl));
 
   /* This function is being processed in whole-function mode.  */
   cfun->x_whole_function_mode_p = 1;