[Bug target/107304] internal compiler error: in convert_move, at expr.cc:220 with -march=tigerlake

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 25 17:31:14 GMT 2022


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

--- Comment #22 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:1c64aba8cdf6509533f554ad86640f274cdbe37f

commit r13-3490-g1c64aba8cdf6509533f554ad86640f274cdbe37f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 19 12:53:35 2022 -0700

    Always use TYPE_MODE instead of DECL_MODE for vector field

    e034c5c8957 re PR target/78643 (ICE in convert_move, at expr.c:230)

    fixed the case where DECL_MODE of a vector field is BLKmode and its
    TYPE_MODE is a vector mode because of target attribute.  Remove the
    BLKmode check for the case where DECL_MODE of a vector field is a vector
    mode and its TYPE_MODE isn't a vector mode because of target attribute.

    gcc/

            PR target/107304
            * expr.cc (get_inner_reference): Always use TYPE_MODE for vector
            field with vector raw mode.

    gcc/testsuite/

            PR target/107304
            * gcc.target/i386/pr107304.c: New test.


More information about the Gcc-bugs mailing list