[Bug middle-end/87647] [7/8 Regression] ICE on valid code in decode_addr_const, at varasm.c:2958

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 30 11:08:00 GMT 2019


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:08:10 2019
New Revision: 275066

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

        PR middle-end/87647
        * varasm.c (decode_addr_const): Handle COMPOUND_LITERAL_EXPR.

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

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr87647.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/varasm.c


More information about the Gcc-bugs mailing list