[Bug middle-end/89412] [7/8 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 30 20:31:00 GMT 2019


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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 20:30:27 2019
New Revision: 270714

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

        PR middle-end/89412
        * expr.c (expand_assignment): If result is a MEM, use change_address
        instead of simplify_gen_subreg.

        * gcc.c-torture/compile/pr89412.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr89412.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/expr.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list