http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59659

--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> For the #c0 testcase, I think reduced testcase is:
> struct S { S (); S (int); ~S (); int i; };
> struct A { S s[1000000]; };
> 
> void
> foo ()
> {
>   A a = {{}};
> }
> and in that case we don't go through build_vec_init, but
> check_init_r/process_init_constructor etc.

Using (one hundred thousand) "struct A { S s[100000]; };" crashes gcc-4.7, 4.8
and trunk.

Reply via email to