diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-12-12 10:21:35 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-12-12 10:21:35 +0100 |
commit | 555758de9007461daa2638c1c5d5ac35ae3dd234 (patch) | |
tree | c1ad730e9cadb28705113d3cb38417d7d6c7e436 /gcc/tree-cfg.h | |
parent | 12c667b5b449a9c86c763438fb96e6e029533fb7 (diff) | |
download | gcc-555758de9007461daa2638c1c5d5ac35ae3dd234.zip gcc-555758de9007461daa2638c1c5d5ac35ae3dd234.tar.gz gcc-555758de9007461daa2638c1c5d5ac35ae3dd234.tar.bz2 |
re PR tree-optimization/83359 (ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2362)
PR tree-optimization/83359
* tree-cfg.h (fold_loop_internal_call): Declare.
* tree-vectorizer.c (fold_loop_internal_call): Moved to ...
* tree-cfg.c (fold_loop_internal_call): ... here. No longer static.
(find_loop_dist_alias): New function.
(move_sese_region_to_fn): If any dloop->orig_loop_num value is
updated, also adjust any corresponding LOOP_DIST_ALIAS internal
calls.
* gcc.dg/graphite/pr83359.c: New test.
From-SVN: r255575
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 7a08cb0..12deaa3 100644 --- a/gcc/tree-cfg.h +++ b/gcc/tree-cfg.h @@ -77,6 +77,7 @@ 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 void fold_loop_internal_call (gimple *, tree); extern basic_block move_sese_region_to_fn (struct function *, basic_block, basic_block, tree); extern void dump_function_to_file (tree, FILE *, dump_flags_t); |