http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56241
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:24:48 UTC --- Author: jakub Date: Tue Feb 19 17:24:37 2013 New Revision: 196146 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196146 Log: Backported from mainline 2013-02-07 Jakub Jelinek <ja...@redhat.com> PR c++/56241 * init.c (build_vec_init): Don't append NULL values into new_vec. (build_zero_init_1): Don't push anything into v if recursive call returned NULL_TREE. (build_value_init_noctor): Don't push anything into v if build_value_init call returned NULL_TREE. * g++.dg/parse/crash61.C: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/parse/crash61.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/init.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog