diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-05 17:48:26 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-05 17:48:26 +0000 |
commit | 72293061482470c484988b9b9b80237a094e23e9 (patch) | |
tree | 97c534b8bbefaf5aa35ed9ba21f1d2ca66906f42 /gcc/integrate.c | |
parent | 681862de8c48e7326c662d130b55cad0ba044a8e (diff) | |
download | gcc-72293061482470c484988b9b9b80237a094e23e9.tar.gz |
* function.c (ggc_mark_struct_function): Mark f->outer.
* toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
* integrate.c (output_inline_function): ... not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45419 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 232f5fe40de..cdf368e8215 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -2899,13 +2899,11 @@ output_inline_function (fndecl) before it gets mangled by optimization. */ (*debug_hooks->outlining_inline_function) (fndecl); - /* Compile this function all the way down to assembly code. */ + /* Compile this function all the way down to assembly code. As a + side effect this destroys the saved RTL representation, but + that's okay, because we don't need to inline this anymore. */ rest_of_compilation (fndecl); - - /* We can't inline this anymore; rest_of_compilation destroyed the - data structures describing the function. */ DECL_INLINE (fndecl) = 0; - DECL_SAVED_INSNS (fndecl) = 0; cfun = old_cfun; current_function_decl = old_cfun ? old_cfun->decl : 0; |