[Bug middle-end/71626] [4.9/5/6 regression] ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 12:49:00 GMT 2016


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:48:16 2016
New Revision: 238101

URL: https://gcc.gnu.org/viewcvs?rev=238101&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-28  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/71626
        * config/i386/i386.c (ix86_expand_vector_move): For SUBREG of
        a constant, force its SUBREG_REG into memory or register instead
        of whole op1.

        * gcc.c-torture/execute/pr71626-1.c: New test.
        * gcc.c-torture/execute/pr71626-2.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr71626-1.c
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr71626-2.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/i386/i386.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list