[Bug c/54363] [4.6/4.7/4.8 Regression] ICE when compiling malformed struct initializers
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 3 16:03:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54363
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-03 16:02:59 UTC ---
Author: jakub
Date: Mon Sep 3 16:02:52 2012
New Revision: 190898
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190898
Log:
Backported from mainline
2012-08-24 Jakub Jelinek <jakub@redhat.com>
PR c/54363
* gimplify.c (optimize_compound_literals_in_ctor): Only recurse
if init is a CONSTRUCTOR.
* gcc.dg/pr54363.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr54363.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/gimplify.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list