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

--- Comment #5 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:7d6bb80931b429631f63e0fd27bee95f32eb57a9

commit r12-139-g7d6bb80931b429631f63e0fd27bee95f32eb57a9
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Mar 26 09:50:03 2021 +0100

    tree-optimization/99776 - relax condition on vector ctor element extract

    This relaxes the condition for the match.pd pattern doing vector ctor
    element extracts to not require type identity but only size equality.
    Since we vectorize pointer data as unsigned integer data such mismatches
    have to be tolerated to optimize scalar code uses of vector results.

    2021-03-26  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/99776
            * match.pd (bit_field_ref (ctor)): Relax element extract
            type compatibility checks.

            * gcc.dg/tree-ssa/ssa-fre-91.c: New testcase.

Reply via email to