[Bug middle-end/104467] [12 Regression] ICE: in store_constructor, at expr.cc:7199 with -mxop

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 10 09:55:13 GMT 2022


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

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

https://gcc.gnu.org/g:4a8083285c3edf50088a095870b217ab0881dff0

commit r12-7174-g4a8083285c3edf50088a095870b217ab0881dff0
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Feb 10 10:01:20 2022 +0100

    middle-end/104467 - fix vector extract simplification

    This fixes a bogus vector type used for a CTOR build as part of
    vector extract simplification.  The code failed to consider a
    CTOR of vector elements.

    2022-02-10  Richard Biener  <rguenther@suse.de>

            PR middle-end/104467
            * match.pd (vector extract simplification): Multiply the
            number of CTOR elements with the number of element elements.

            * gcc.dg/torture/pr104467.c: New testcase.


More information about the Gcc-bugs mailing list