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 /libgomp | |
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 'libgomp')
0 files changed, 0 insertions, 0 deletions