[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
Mon Nov 5 14:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87647
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Nov 5 14:08:30 2018
New Revision: 265802
URL: https://gcc.gnu.org/viewcvs?rev=265802&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-8-branch/gcc/testsuite/gcc.c-torture/compile/pr87647.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/varasm.c
More information about the Gcc-bugs
mailing list