[Bug c++/80290] [6/7/8/9 Regression] g++ uses unreasonable amount of memory compiling nested string maps

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 28 00:26:00 GMT 2018


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

--- Comment #31 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jun 28 00:25:21 2018
New Revision: 262204

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

        * pt.c (type_unification_real): Skip non-dependent conversion
        check for a nested list argument.
        (braced_init_depth): New.

Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list