diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-27 01:43:17 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-27 01:43:17 +0000 |
commit | be2828ce3a45f1a520b7d3e932b1fead7462ec7e (patch) | |
tree | e7daf0f28ecb5da9660b21aee68e6919f846c183 /gcc/profile.c | |
parent | 6bc988cda5e493c3e632a2d82be7ea8763a618e2 (diff) | |
download | gcc-be2828ce3a45f1a520b7d3e932b1fead7462ec7e.tar.gz |
Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24879 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r-- | gcc/profile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 4809d7fbe54..17923c54394 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -1667,7 +1667,13 @@ output_func_start_profiler () TREE_PUBLIC (fndecl) = 1; DECL_ASSEMBLER_NAME (fndecl) = fnname; DECL_RESULT (fndecl) = build_decl (RESULT_DECL, NULL_TREE, void_type_node); + + fndecl = pushdecl (fndecl); + rest_of_decl_compilation (fndecl, 0, 1, 0); + announce_function (fndecl); current_function_decl = fndecl; + DECL_INITIAL (fndecl) = error_mark_node; + temporary_allocation (); pushlevel (0); make_function_rtl (fndecl); init_function_start (fndecl, input_filename, lineno); |