[Bug fortran/91003] [10 Regression] ICE when compiling LAPACK (CGEGV) with optimization

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 29 19:55:00 GMT 2019


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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Nov 29 19:54:25 2019
New Revision: 278860

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

        PR tree-optimization/91003
        * tree-vect-slp.c (vect_mask_constant_operand_p): Pass in the
        operand number, avoid handling the non-condition operands of
        COND_EXPRs as comparisons.
        (vect_get_constant_vectors): Pass down the operand number.
        (vect_get_slp_defs): Likewise.

        * gfortran.dg/pr91003.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr91003.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-slp.c


More information about the Gcc-bugs mailing list