diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-08-23 09:19:32 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-08-23 09:19:32 +0000 |
commit | 2eddac76ab90866dbab1b2016450295ea3ea22f7 (patch) | |
tree | 4eace75bf5f230bec99589e23b38ec7b718697b0 /gcc/tree-cfg.h | |
parent | 1b950569994b39283865554b39fa75c32ca879d4 (diff) | |
download | gcc-2eddac76ab90866dbab1b2016450295ea3ea22f7.zip gcc-2eddac76ab90866dbab1b2016450295ea3ea22f7.tar.gz gcc-2eddac76ab90866dbab1b2016450295ea3ea22f7.tar.bz2 |
Don't create superfluous parm in expand_omp_taskreg
2015-08-23 Tom de Vries <tom@codesourcery.com>
* omp-low.c (expand_omp_taskreg): If in ssa, set rhs of parcopy stmt to
parm_decl, rather than generating a dummy default def in cfun.
* tree-cfg.c (replace_ssa_name): Assume no default defs. Make sure
ssa_name from cfun and child_fn do not share a stmt as def stmt.
(move_stmt_op): Handle PARM_DECl.
(gather_ssa_name_hash_map_from): New function.
(move_sese_region_to_fn): Add default defs for function params, and add
them to vars_map. Release copied ssa names.
* tree-cfg.h (gather_ssa_name_hash_map_from): Declare.
From-SVN: r227103
Diffstat (limited to 'gcc/tree-cfg.h')
-rw-r--r-- | gcc/tree-cfg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-cfg.h b/gcc/tree-cfg.h index 6c4b1d9..4bd6fcf 100644 --- a/gcc/tree-cfg.h +++ b/gcc/tree-cfg.h @@ -75,6 +75,7 @@ extern bool gimple_duplicate_sese_tail (edge, edge, basic_block *, unsigned, extern void gather_blocks_in_sese_region (basic_block entry, basic_block exit, vec<basic_block> *bbs_p); extern void verify_sese (basic_block, basic_block, vec<basic_block> *); +extern bool gather_ssa_name_hash_map_from (tree const &, tree const &, void *); extern basic_block move_sese_region_to_fn (struct function *, basic_block, basic_block, tree); extern void dump_function_to_file (tree, FILE *, int); |