diff options
author | Richard Guenther <rguenther@suse.de> | 2009-05-25 13:35:10 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-05-25 13:35:10 +0000 |
commit | 6b8ed1452b9f79918ba9324edda6642ed7d08114 (patch) | |
tree | a5df148001356e742a58dc38bfe38aa26e706766 /gcc/tree-parloops.c | |
parent | 0d38b677037f13b7b83d1024a5156be9b41e17b9 (diff) | |
download | gcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.zip gcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.tar.gz gcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.tar.bz2 |
tree-ssa-alias.h (dump_points_to_solution): Declare.
2009-05-25 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.h (dump_points_to_solution): Declare.
* tree-inline.c (expand_call_inline): Reset the escaped and
callused solutions.
* tree-ssa-structalias.c (pass_build_ealias): New.
* tree-pass.h (pass_build_ealias): Declare.
* passes.c (init_optimization_passes): Add PTA during
early optimizations.
* tree-ssa-alias.c (dump_alias_info): Dump the ESCAPED
and CALLUSED solutions.
(dump_points_to_solution): New function, split out from ...
(dump_points_to_info_for): ... here.
* tree-parloops.c (parallelize_loops): Reset the escaped and
callused solutions.
* gcc.dg/tree-ssa/ssa-fre-14.c: Adjust.
* gcc.dg/tree-ssa/ssa-fre-15.c: Likewise.
From-SVN: r147848
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 4e9b102..2ec2619 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -1886,6 +1886,16 @@ parallelize_loops (void) free_stmt_vec_info_vec (); htab_delete (reduction_list); + + /* Parallelization will cause new function calls to be inserted through + which local variables will escape. Reset the points-to solutions + for ESCAPED and CALLUSED. */ + if (changed) + { + pt_solution_reset (&cfun->gimple_df->escaped); + pt_solution_reset (&cfun->gimple_df->callused); + } + return changed; } |