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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 21 17:12:06 2019
New Revision: 278576

URL: https://gcc.gnu.org/viewcvs?rev=278576&root=gcc&view=rev
Log:
        Backported from mainline
        2019-09-07  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/91665
        * tree-vect-loop.c (vectorizable_reduction): Punt if base has type
        incompatible with the type of PHI result.

        * gcc.dg/vect/pr91665.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/vect/pr91665.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-vect-loop.c

Reply via email to