[Bug c++/93892] Aggregate initialisation of std::array<nontrivial, large> takes forever to compile

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 24 12:35:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93892

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, 100000 elements just take a few seconds to compile for me with GCC 9.2
and GCC 8.3?  Going up to a million makes it slow though.

IIRC we're not considering emitting an initialization loop.


More information about the Gcc-bugs mailing list