PR tree-optimization/70729
gcc/
* tree-vectorizer.c (adjust_simduid_builtins): Nullify safelen field
of loop since it can be not valid after transformation.
From-SVN: r237907
+2016-07-01 Yuri Rumyantsev <ysrumyan@gmail.com>
+
+ PR tree-optimization/70729
+ * tree-vectorizer.c (adjust_simduid_builtins): Nullify safelen field
+ of loop since it can be not valid after transformation.
+
2016-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (thumb_reload_in_hi): Delete.
gcc_assert (TREE_CODE (arg) == SSA_NAME);
simduid_to_vf *p = NULL, data;
data.simduid = DECL_UID (SSA_NAME_VAR (arg));
+ /* Need to nullify loop safelen field since it's value is not
+ valid after transformation. */
+ if (bb->loop_father && bb->loop_father->safelen > 0)
+ bb->loop_father->safelen = 0;
if (htab)
{
p = htab->find (&data);