This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/87974] [9 Regression] ICE in vect_get_vec_def_for_stmt_copy


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Nov 14 09:19:28 2018
New Revision: 266099

URL: https://gcc.gnu.org/viewcvs?rev=266099&root=gcc&view=rev
Log:
2018-11-14  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87974
        * tree-vect-loop.c (vectorizable_reduction): When computing
        the vectorized reduction PHI vector type ignore constant
        and external defs.

        * g++.dg/opt/pr87974.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr87974.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]