diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-09-13 14:42:04 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-09-13 14:42:04 +0200 |
commit | f3b331d117a3dd2e406d9746178f8c5644156fb0 (patch) | |
tree | 88eeb2b870640142e2694a00e1bb45b6744ce437 /gcc/cp/lambda.c | |
parent | ae6d090748df54cb09a9bd7dc5d4d9b4668296f9 (diff) | |
download | gcc-f3b331d117a3dd2e406d9746178f8c5644156fb0.zip gcc-f3b331d117a3dd2e406d9746178f8c5644156fb0.tar.gz gcc-f3b331d117a3dd2e406d9746178f8c5644156fb0.tar.bz2 |
re PR libgomp/58392 (internal compiler error: in expand_GOMP_SIMD_VF, at internal-fn.c (omp simd inside omp parallel))
PR tree-optimization/58392
* tree-cfg.c (move_sese_region_to_fn): Rename loop variable
to avoid shadowing of outer loop variable. If
saved_cfun->has_simduid_loops or saved_cfun->has_force_vect_loops,
replace_by_duplicate_decl simduid of loops that have it set and
set dest_cfun->has_simduid_loops and/or
dest_cfun->has_force_vect_loops.
* omp-low.c (build_outer_var_ref): Call maybe_lookup_decl_in_outer_ctx
instead of maybe_lookup_decl.
* tree-inline.c (copy_loops): Change blocks_to_copy argument to id.
Use id->blocks_to_copy instead of blocks_to_copy. Adjust recursive
call. Copy over force_vect and copy and remap simduid. Set
cfun->has_simduid_loops and/or cfun->has_force_vect_loops.
(copy_cfg_body): Remove blocks_to_copy argument. Use
id->blocks_to_copy instead of blocks_to_copy. Adjust copy_loops
caller. Don't set cfun->has_simduid_loops and/or
cfun->has_force_vect_loops here.
(copy_body): Remove blocks_to_copy argument. Adjust copy_cfg_body
caller.
(expand_call_inline, tree_function_versioning): Adjust copy_body
callers.
From-SVN: r202564
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions