https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71734
--- Comment #10 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Thu Jul 28 14:19:18 2016 New Revision: 238817 URL: https://gcc.gnu.org/viewcvs?rev=238817&root=gcc&view=rev Log: gcc/ 2016-07-28 Yuri Rumyantsev <ysrum...@gmail.com> PR tree-optimization/71734 * tree-ssa-loop-im.c (ref_indep_loop_p_1): Pass value of safelen attribute instead of REF_LOOP and use it. (ref_indep_loop_p_2): Use SAFELEN argument instead of REF_LOOP and set it for Loops having non-zero safelen attribute. (ref_indep_loop_p): Pass zero as initial value for safelen. gcc/testsuite/ 2016-07-28 Yuri Rumyantsev <ysrum...@gmail.com> PR tree-optimization/71734 * g++.dg/vect/pr70729-nest.cc: New test. Added: trunk/gcc/testsuite/g++.dg/vect/pr70729-nest.cc Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-im.c