http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52073
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-02 08:09:43 UTC --- Author: jakub Date: Thu Feb 2 08:09:37 2012 New Revision: 183829 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183829 Log: PR tree-optimization/52073 * tree-vect-stmts.c (vect_mark_relevant): When checking uses of a pattern stmt for pattern uses, ignore uses outside of the loop. * gcc.c-torture/compile/pr52073.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr52073.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c