aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-11-25 16:16:18 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-11-25 16:16:18 -0800
commita17a58505dd750d28a77e2fd443e32909a3c2079 (patch)
tree1d98cbf62b1fd108f351f49fd378be76c9c6e1ea /gcc/c-decl.c
parent2e18bbae80ff626901e991a5ef54e31aee4d0505 (diff)
downloadgcc-a17a58505dd750d28a77e2fd443e32909a3c2079.zip
gcc-a17a58505dd750d28a77e2fd443e32909a3c2079.tar.gz
gcc-a17a58505dd750d28a77e2fd443e32909a3c2079.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
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;