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

--- Comment #7 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:d16b5975ca985cbe97698479fc38b6a636886978

commit r11-3460-gd16b5975ca985cbe97698479fc38b6a636886978
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Sep 25 11:13:13 2020 +0200

    middle-end/96814 - fix VECTOR_BOOLEAN_TYPE_P CTOR RTL expansion

    The RTL expansion code for CTORs doesn't handle VECTOR_BOOLEAN_TYPE_P
    with bit-precision elements correctly as the testcase shows before
    the PR97085 fix.  The following makes it do the correct thing
    (not 100% sure for CTOR of sub-vectors due to the lack of a testcase).

    The alternative would be to assert such CTORs do not happen (and also
    add IL verification for this).

    The GIMPLE FE needs a way to declare the VECTOR_BOOLEAN_TYPE_P vectors
    (thus the C FE needs that).

    2020-09-25  Richard Biener  <rguent...@suse.de>

            PR middle-end/96814
            * expr.c (store_constructor): Handle VECTOR_BOOLEAN_TYPE_P
            CTORs correctly.

            * gcc.target/i386/pr96814.c: New testcase.

Reply via email to