diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-02-01 00:11:30 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-02-01 00:11:30 +0000 |
commit | bebc7e8b3d0226dde405fc9a20b9a3be4e9db21e (patch) | |
tree | ae6f03a99fdebb015b8962a2d67f6c38968abef8 /gcc/c-decl.c | |
parent | 81622d2908a52a157f5dc4b4fc455283c92ac58c (diff) | |
download | gcc-bebc7e8b3d0226dde405fc9a20b9a3be4e9db21e.zip gcc-bebc7e8b3d0226dde405fc9a20b9a3be4e9db21e.tar.gz gcc-bebc7e8b3d0226dde405fc9a20b9a3be4e9db21e.tar.bz2 |
c-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file...
* c-lex.c (yyparse): Call debug_hooks->start_source_file for
the primary source file; this has not been done yet.
* c-decl.c (c_expand_body): Reset input_filename from
DECL_SOURCE_FILE (fndecl) before calling init_function_start.
From-SVN: r49383
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 9deb193..4153f50 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -7014,6 +7014,7 @@ c_expand_body (fndecl, nested_p, can_defer_p) /* Initialize the RTL code for the function. */ current_function_decl = fndecl; + input_filename = DECL_SOURCE_FILE (fndecl); init_function_start (fndecl, input_filename, DECL_SOURCE_LINE (fndecl)); /* This function is being processed in whole-function mode. */ |