PR c++/12245 - excessive memory use
authorJason Merrill <jason@redhat.com>
Fri, 3 Feb 2017 19:44:27 +0000 (14:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 3 Feb 2017 19:44:27 +0000 (14:44 -0500)
commit8a87daca9cc5e0156477d6ad39ca1fd8b8687730
tree89916b185c7ce9e6cdac80634876abedd8b5f330
parent99be38ec6a484b92940c2d415e14db33ebfb19bc
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.

From-SVN: r245169
gcc/cp/ChangeLog
gcc/cp/constexpr.c