diff options
author | Diego Novillo <dnovillo@google.com> | 2008-05-13 14:24:33 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2008-05-13 14:24:33 -0400 |
commit | 5db9ba0c38a08b7313ab2e10b1aabc98c5b73301 (patch) | |
tree | 27982ea789dad2373cffff1356daddf15ef05405 /gcc/omp-low.c | |
parent | e4cfa46f4dc49a0ded5ad3fddcc853345a6da83e (diff) | |
download | gcc-5db9ba0c38a08b7313ab2e10b1aabc98c5b73301.zip gcc-5db9ba0c38a08b7313ab2e10b1aabc98c5b73301.tar.gz gcc-5db9ba0c38a08b7313ab2e10b1aabc98c5b73301.tar.bz2 |
tree.h (init_phinodes, [...]): Move ...
2008-05-13 Diego Novillo <dnovillo@google.com>
Kenneth Zadeck <zadeck@naturalbridge.com>
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00748.html
* tree.h (init_phinodes, fini_phinodes, release_phi_node,
phinodes_print_statistics, init_ssanames, fini_ssanames,
make_ssa_name, duplicate_ssa_name,
duplicate_ssa_name_ptr_info, release_ssa_name,
release_defs, replace_ssa_name_symbol,
ssanames_print_statistics): Move ...
* tree-flow.h: ... here.
* tree-ssanames.c (init_ssanames): Add arguments FN and
SIZE. Use FN instead of cfun.
(make_ssa_name_fn): Rename from make_ssa_name.
(pass_release_ssa_names): Add TODO_dump_func to finish
flags.
* tree-flow-inline.h (make_ssa_name): Move from
tree-ssanames.c. Convert to static inline. Call
make_ssa_name_fn.
* omp-low.c (expand_omp_parallel):
* tree-flow-inline.h (redirect_edge_var_map_result):
* tree-ssa.c (init_tree_ssa): Add argument FN. Use it
instead of cfun.
Update all users.
Co-Authored-By: Kenneth Zadeck <zadeck@naturalbridge.com>
From-SVN: r135270
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 1d3bf7b..3f2ed91 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -2659,7 +2659,7 @@ expand_omp_parallel (struct omp_region *region) if (gimple_in_ssa_p (cfun)) { push_cfun (child_cfun); - init_tree_ssa (); + init_tree_ssa (child_cfun); init_ssa_operands (); cfun->gimple_df->in_ssa_p = true; pop_cfun (); |