https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69168

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jan 12 08:36:24 2016
New Revision: 232261

URL: https://gcc.gnu.org/viewcvs?rev=232261&root=gcc&view=rev
Log:
2016-01-12  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/69168
        * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
        pattern stmt SLP type.
        * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
        end up unused so cope with that case.

        * gcc.dg/torture/pr69168.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr69168.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vect-slp.c

Reply via email to