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

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

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

commit r12-9722-gf06f1b4102b1c6965ad6b1da0094d6de5c3a2940
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Jun 9 09:29:09 2023 +0200

    middle-end/110182 - TYPE_PRECISION on VECTOR_TYPE causes wrong-code

    When folding two conversions in a row we use TYPE_PRECISION but
    that's invalid for VECTOR_TYPE.  The following fixes this by
    using element_precision instead.

            PR middle-end/110182
            * match.pd (two conversions in a row): Use element_precision
            to DTRT for VECTOR_TYPE.

    (cherry picked from commit 3e12669a0eb968cfcbe9242b382fd8020935edf8)

Reply via email to