[Bug c++/86320] very long compilation time for std::array<std::pair<int, int>, 1024 * 1024>

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 27 03:07:00 GMT 2018


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 27 03:06:43 2018
New Revision: 262175

URL: https://gcc.gnu.org/viewcvs?rev=262175&root=gcc&view=rev
Log:
        PR c++/86320 - memory-hog with std::array of pair

        * typeck2.c (process_init_constructor_array): If zero-initialization
        is fine for one element, we're done.

Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/typeck2.c


More information about the Gcc-bugs mailing list