http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-05 11:24:30 UTC --- Author: rguenth Date: Tue Jul 5 11:24:26 2011 New Revision: 175847 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175847 Log: 2011-07-05 Richard Guenther <rguent...@suse.de> PR tree-optimization/49518 PR tree-optimization/49628 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Skip irrelevant and invariant data-references. (vect_analyze_data_ref_access): For invariant loads clear the group association. * g++.dg/torture/pr49628.C: New testcase. * gcc.dg/torture/pr49518.c: Likewise. Added: trunk/gcc/testsuite/g++.dg/torture/pr49628.C trunk/gcc/testsuite/gcc.dg/torture/pr49518.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c