c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of...
authorRichard Henderson <rth@redhat.com>
Sun, 26 Nov 2000 00:16:18 +0000 (16:16 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 26 Nov 2000 00:16:18 +0000 (16:16 -0800)
        * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
        lineno for the start of the function.

From-SVN: r37747

gcc/ChangeLog
gcc/c-decl.c

index 8aabe9ea75e5c54c06f4069ffc586539faf7dc56..33f3d53ba675102758f076733ba7f889bfa2e411 100644 (file)
@@ -1,3 +1,8 @@
+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.
index bfaf451e2b865f23d4c86f9e09f4cccc7ec5d670..780681929870a25f374a43191c45cbd353a8e588 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;