[Bug c++/59659] large zero-initialized std::array compile time excessive
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 9 17:03:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59659
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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.
More information about the Gcc-bugs
mailing list