diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-16 00:11:47 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-16 00:11:47 +0000 |
| commit | c8a152f6bd7afcd8e84d8e6881e3d2ed434f8466 (patch) | |
| tree | 672e864a197fe1e491117b7d173a827a5d262941 /gcc/tree-ssa-structalias.c | |
| parent | d2aa980b20c8568f2275ff14be04b55709e16b82 (diff) | |
| download | ppe42-gcc-c8a152f6bd7afcd8e84d8e6881e3d2ed434f8466.tar.gz ppe42-gcc-c8a152f6bd7afcd8e84d8e6881e3d2ed434f8466.zip | |
* tree-ssa-structalias.c (ipa_pta_execute): Rename 'cfun' to
'func'.
* tree-parloops.c (create_loop_fn): Use set_cfun.
* gengtype.c (open_base_files): Emit #undef cfun.
* ipa-struct-reorg.c (do_reorg_1): Use set_cfun.
* function.h (cfun): New define.
* function.c: Undefine cfun.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130213 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
| -rw-r--r-- | gcc/tree-ssa-structalias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 90c1d47f2ab..b175d252608 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -5561,17 +5561,17 @@ ipa_pta_execute (void) { if (node->analyzed && cgraph_is_master_clone (node)) { - struct function *cfun = DECL_STRUCT_FUNCTION (node->decl); + struct function *func = DECL_STRUCT_FUNCTION (node->decl); basic_block bb; tree old_func_decl = current_function_decl; if (dump_file) fprintf (dump_file, "Generating constraints for %s\n", cgraph_node_name (node)); - push_cfun (cfun); + push_cfun (func); current_function_decl = node->decl; - FOR_EACH_BB_FN (bb, cfun) + FOR_EACH_BB_FN (bb, func) { block_stmt_iterator bsi; tree phi; |

