From a17a58505dd750d28a77e2fd443e32909a3c2079 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 25 Nov 2000 16:16:18 -0800 Subject: c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of the function. * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of the function. From-SVN: r37747 --- gcc/ChangeLog | 5 +++++ gcc/c-decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8aabe9e..33f3d53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2000-11-25 Richard Henderson + * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than + lineno for the start of the function. + +2000-11-25 Richard Henderson + * dwarf2out.c (file_table, file_table_allocated): Remove. (file_table_allocated): Remove. (struct file_table): New. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index bfaf451..7806819 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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; -- cgit v1.1