[Bug c/12245] [5/6/7 regression] Uses lots of memory when compiling large initialized arrays
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 3 19:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
--- Comment #64 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 3 19:44:27 2017
New Revision: 245169
URL: https://gcc.gnu.org/viewcvs?rev=245169&root=gcc&view=rev
Log:
PR c++/12245 - excessive memory use
* constexpr.c (maybe_constant_value): Fold maybe_constant_value_1
back in. Don't cache constants.
(maybe_constant_init): Don't cache constants.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list