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/82289] [8 Regression] ICE at -O3 on x86_64-linux-gnu: in vect_get_num_copies, at tree-vectorizer.h:1093


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

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Fri Sep 22 17:04:51 2017
New Revision: 253103

URL: https://gcc.gnu.org/viewcvs?rev=253103&root=gcc&view=rev
Log:
PR82289: Computing peeling costs for irrelevant drs

This PR shows that we weren't filtering out irrelevant stmts in
vect_get_peeling_costs_all_drs (unlike related loops in which
we iterate over all datarefs).

2017-09-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
        PR tree-optimization/82289
        * tree-vect-data-refs.c (vect_get_peeling_costs_all_drs): Check
        STMT_VINFO_RELEVANT_P.

gcc/testsuite/
        PR tree-optimization/82289
        * gcc.dg/vect/pr82289.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr82289.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-data-refs.c

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