diff options
author | Richard Biener <rguenther@suse.de> | 2019-02-08 13:21:36 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-02-08 13:21:36 +0000 |
commit | a2d0c3bf8c4487249aae1e2b1927d71703bfcda4 (patch) | |
tree | 2bc0646c56aa7a909d392e2a090b45f5e17c3c5a /gcc/tree-if-conv.h | |
parent | 11719d1474c6dbd574867646b7c53f9719abc178 (diff) | |
download | gcc-a2d0c3bf8c4487249aae1e2b1927d71703bfcda4.zip gcc-a2d0c3bf8c4487249aae1e2b1927d71703bfcda4.tar.gz gcc-a2d0c3bf8c4487249aae1e2b1927d71703bfcda4.tar.bz2 |
re PR tree-optimization/89247 (ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2409)
2019-02-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/89247
* tree-if-conv.c: Include tree-cfgcleanup.h.
(version_loop_for_if_conversion): Record LOOP_VECTORIZED call.
(tree_if_conversion): Pass through predicate vector.
(pass_if_conversion::execute): Do CFG cleanup and SSA update
inline, see if any if-converted loops we refrece in
LOOP_VECTORIZED calls vanished and fixup.
* tree-if-conv.h (tree_if_conversion): Adjust prototype.
* gcc.dg/torture/pr89247.c: New testcase.
From-SVN: r268689
Diffstat (limited to 'gcc/tree-if-conv.h')
-rw-r--r-- | gcc/tree-if-conv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.h b/gcc/tree-if-conv.h index 9e745d1..c136ebb 100644 --- a/gcc/tree-if-conv.h +++ b/gcc/tree-if-conv.h @@ -19,6 +19,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_TREE_IF_CONV_H #define GCC_TREE_IF_CONV_H -unsigned int tree_if_conversion (struct loop *); +unsigned int tree_if_conversion (struct loop *, vec<gimple *> * = NULL); #endif /* GCC_TREE_IF_CONV_H */ |