[Bug tree-optimization/95897] [11 regression] gfortran.dg/graphite/pr40982.f90 fails with ICE starting with r11-1649

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 26 11:04:36 GMT 2020


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:5b959c22bc0158faa359a5899bf46e815dc65290

commit r11-1671-g5b959c22bc0158faa359a5899bf46e815dc65290
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jun 26 10:08:58 2020 +0200

    tree-optimization/95897 - fix fold-left SLP reduction insert place

    This fixes computation of the insertion place for fold-left SLP
    reductions where the PHIs do not have vectorized stmts.  The
    SLP representation isn't perfect here thus the following.

    2020-06-26  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/95897
            * tree-vectorizer.h (vectorizable_induction): Remove
            unused gimple_stmt_iterator * parameter.
            * tree-vect-loop.c (vectorizable_induction): Likewise.
            (vect_analyze_loop_operations): Adjust.
            * tree-vect-stmts.c (vect_analyze_stmt): Likewise.
            (vect_transform_stmt): Likewise.
            * tree-vect-slp.c (vect_schedule_slp_instance): Adjust
            for fold-left reductions, clarify existing reduction case.

            * gcc.dg/vect/pr95897.c: New testcase.


More information about the Gcc-bugs mailing list