[Bug libstdc++/80290] [6/7 Regression] g++ uses unreasonable amount of memory compiling nested string maps
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 4 11:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The drastic slowdown started with r225189
We can't realistically revert that, so we'll have to find a way to make the FE
faster. I don't really know what I'm talking about, but I like this idea:
(In reply to Richard Biener from comment #3)
> I wonder if some trivial caching of "last elements overload set" during
> initializer processing could speed up things dramatically and avoid
> generating so much garbage
> (we don't GC during a single check_initializer call).
More information about the Gcc-bugs
mailing list