[Bug target/101505] [10/11 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 6 09:43:15 GMT 2021


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

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

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

commit r11-8831-gc891d268c446bd01f82e256e24580afcb3b526ae
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Jul 19 13:29:16 2021 +0200

    tree-optimization/101505 - properly determine stmt precision for PHIs

    Loop vectorization pattern recog fails to walk PHIs when determining
    stmt precisions.  This fails to recognize non-mask uses for bools
    in PHIs and outer loop vectorization.

    2021-07-19  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/101505
            * tree-vect-patterns.c (vect_determine_precisions): Walk
            PHIs also for loop vectorization.

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

    (cherry picked from commit 8df3ee8f7d85d0708f3c3ca96b55c9230c2ae9f0)


More information about the Gcc-bugs mailing list