diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-04-15 18:43:32 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-04-15 18:43:32 +0000 |
commit | 5283d1ecc4ed755bca87e31afd0deaf8af17591a (patch) | |
tree | 4cffd5a80e733e7a6761c0ee546bd4e5bf937ede /gcc/function.h | |
parent | 3a1351b9daff403b268b4e08313bcbafe476be33 (diff) | |
download | gcc-5283d1ecc4ed755bca87e31afd0deaf8af17591a.zip gcc-5283d1ecc4ed755bca87e31afd0deaf8af17591a.tar.gz gcc-5283d1ecc4ed755bca87e31afd0deaf8af17591a.tar.bz2 |
Fix fdump-passes
2015-04-15 Tom de Vries <tom@codesourcery.com>
PR other/65487
* function.c (push_dummy_function): New function.
(init_dummy_function_start): Use push_dummy_function.
(pop_dummy_function): New function. Factored out of ...
(expand_dummy_function_end): ... here.
* function.h (push_dummy_function, pop_dummy_function): Declare.
* passes.c (pass_manager::dump_passes): Use push_dummy_function and
pop_dummy_function.
* tree-chkp.c (chkp_gate): Handle cgraph_node::get (cfun->decl) == NULL.
From-SVN: r222129
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 363d666..fc12f26 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -896,6 +896,8 @@ extern int get_next_funcdef_no (void); extern int get_last_funcdef_no (void); extern void allocate_struct_function (tree, bool); extern void push_struct_function (tree fndecl); +extern void push_dummy_function (bool); +extern void pop_dummy_function (void); extern void init_dummy_function_start (void); extern void init_function_start (tree); extern void stack_protect_epilogue (void); |