Comment 14 for bug 1642109

Revision history for this message
In , Jakub-gcc (jakub-gcc) wrote :

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 <email address hidden>

 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