http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56764
--- Comment #4 from congh at gcc dot gnu.org --- Author: congh Date: Fri Nov 8 02:08:05 2013 New Revision: 204557 URL: http://gcc.gnu.org/viewcvs?rev=204557&root=gcc&view=rev Log: 2013-11-07 Cong Hou <co...@google.com> Backport from mainline 2013-11-07 Cong Hou <co...@google.com> PR tree-optimization/56764 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Combine alias checks if it is possible to amortize the runtime overhead. Return the number of alias checks after merging. * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Use the function vect_create_cond_for_alias_checks () to check the number of alias checks. 2013-11-07 Cong Hou <co...@google.com> Backport from mainline 2013-11-07 Cong Hou <co...@google.com> * gcc.dg/vect/vect-alias-check.c: New. Added: branches/google/gcc-4_8/gcc/testsuite/gcc.dg/vect/vect-alias-check.c Modified: branches/google/gcc-4_8/gcc/ChangeLog branches/google/gcc-4_8/gcc/testsuite/ChangeLog branches/google/gcc-4_8/gcc/tree-vect-data-refs.c branches/google/gcc-4_8/gcc/tree-vect-loop-manip.c branches/google/gcc-4_8/gcc/tree-vectorizer.h