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

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

https://gcc.gnu.org/g:dc9ba9d045d0cfc06207806fd64b06ab3304b196

commit r10-6033-gdc9ba9d045d0cfc06207806fd64b06ab3304b196
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Jan 17 09:39:45 2020 +0100

    vect: Fix ICE in vectorizable_comparison PR93292

    The following testcase ICEs on powerpc64le-linux.  The problem is that
    get_vectype_for_scalar_type returns NULL, and while most places in
    tree-vect-stmts.c handle that case, this spot doesn't and punts only
    if it is non-NULL, but with different number of elts than expected.

    2020-01-17  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/93292
        * tree-vect-stmts.c (vectorizable_comparison): Punt also if
        get_vectype_for_scalar_type returns NULL.

        * g++.dg/opt/pr93292.C: New test.

Reply via email to