https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79824
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Mar 6 13:58:01 2017 New Revision: 245922 URL: https://gcc.gnu.org/viewcvs?rev=245922&root=gcc&view=rev Log: 2017-03-06 Richard Biener <rguent...@suse.de> PR tree-optimization/79824 * tree-vect-stmts.c (get_group_load_store_type): Fix alignment check disabling peeling for gaps. * gcc.dg/vect/pr79824-1.c: New testcase. * gcc.dg/vect/pr79824-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/vect/pr79824-1.c trunk/gcc/testsuite/gcc.dg/vect/pr79824-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c