Commit 2a77af27 by Geoffrey Keating Committed by Geoffrey Keating

integrate.c (output_inline_function): Don't hold private pointers to 'struct…

integrate.c (output_inline_function): Don't hold private pointers to 'struct function' over GC calls.

	* integrate.c (output_inline_function): Don't hold private
	pointers to 'struct function' over GC calls.

From-SVN: r60396
parent 5040eb00
2002-12-21 Geoffrey Keating <geoffk@apple.com>
* integrate.c (output_inline_function): Don't hold private
pointers to 'struct function' over GC calls.
2002-12-21 Kaz kojima <kkojima@gcc.gnu.org> 2002-12-21 Kaz kojima <kkojima@gcc.gnu.org>
* config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
......
...@@ -3004,15 +3004,17 @@ set_decl_abstract_flags (decl, setting) ...@@ -3004,15 +3004,17 @@ set_decl_abstract_flags (decl, setting)
from its DECL_SAVED_INSNS. Used for inline functions that are output from its DECL_SAVED_INSNS. Used for inline functions that are output
at end of compilation instead of where they came in the source. */ at end of compilation instead of where they came in the source. */
static GTY(()) struct function *old_cfun;
void void
output_inline_function (fndecl) output_inline_function (fndecl)
tree fndecl; tree fndecl;
{ {
struct function *old_cfun = cfun;
enum debug_info_type old_write_symbols = write_symbols; enum debug_info_type old_write_symbols = write_symbols;
const struct gcc_debug_hooks *const old_debug_hooks = debug_hooks; const struct gcc_debug_hooks *const old_debug_hooks = debug_hooks;
struct function *f = DECL_SAVED_INSNS (fndecl); struct function *f = DECL_SAVED_INSNS (fndecl);
old_cfun = cfun;
cfun = f; cfun = f;
current_function_decl = fndecl; current_function_decl = fndecl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment