[Bug tree-optimization/93780] [10 Regression] ICE in SET_TYPE_VECTOR_SUBPARTS

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 18 08:08:00 GMT 2020


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

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

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

commit r10-6689-gbe7c145ad52e76a1a0fd201dd96bc92e8d3a275d
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Feb 18 09:07:15 2020 +0100

    tree-ssa: Fix ICE in build_vector_type [PR93780]

    The following testcase ICEs, because execute_update_addresses_taken
attempts
    to create a VECTOR_TYPE with non-power of 2 number of elts.
    Fixed by guarding it with the corresponding predicate.

    2020-02-18  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/93780
        * tree-ssa.c (non_rewritable_lvalue_p): Check valid_vector_subparts_p
        before calling build_vector_type.
        (execute_update_addresses_taken): Likewise.

        * gcc.dg/pr93780.c: New test.


More information about the Gcc-bugs mailing list