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

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

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

commit r14-4788-gd70575f542f575133eb4c49eda89ab61eedf83b8
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Oct 20 12:22:52 2023 +0200

    tree-optimization/111891 - fix assert in vectorizable_simd_clone_call

    The following fixes the assert in vectorizable_simd_clone_call to
    assert we have a vector type during transform.  Whether we have
    one during analysis depends on whether another SLP user decided
    on the type of a constant/external already.  When we end up with
    a mismatch in desire the updating will fail and make vectorization
    fail.

            PR tree-optimization/111891
            * tree-vect-stmts.cc (vectorizable_simd_clone_call): Fix
            assert.

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

Reply via email to