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

--- Comment #2 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:b7a1b89e60c4b492f85b47e02c12b01dd8a6e28b

commit r14-5625-gb7a1b89e60c4b492f85b47e02c12b01dd8a6e28b
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Nov 20 11:29:59 2023 +0100

    middle-end/112622 - convert and vector-to-float

    The following avoids ICEing when trying to convert a vector to
    a scalar float.

            PR middle-end/112622
            * convert.cc (convert_to_real_1): Use element_precision
            where a vector type might appear.  Provide specific
            diagnostic for unexpected vector argument.

            * gcc.dg/pr112622.c: New testcase.
            * gcc.dg/simd-2.c: Adjust.
            * gcc.target/i386/vect-bfloat16-typecheck_1.c: Likewise.
            * gcc.target/i386/vect-bfloat16-typecheck_2.c: Likewise.

Reply via email to