[Bug target/80583] [6 Regression] ICE with target attribute and vectorized float: internal compiler error: in convert_move, at expr.c:270

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 16:57:00 GMT 2018


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 16:57:13 2018
New Revision: 262041

URL: https://gcc.gnu.org/viewcvs?rev=262041&root=gcc&view=rev
Log:
        Backported from mainline
        2017-12-02  Jakub Jelinek  <jakub@redhat.com>

        PR target/78643
        PR target/80583
        * expr.c (get_inner_reference): If DECL_MODE of a non-bitfield
        is BLKmode for vector field with vector raw mode, use TYPE_MODE
        instead of DECL_MODE.

        * gcc.target/i386/pr80583.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr80583.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/expr.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list