[Bug c++/14179] [5/6/7 Regression] out of memory while parsing array with many initializers
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 2 09:20:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179
--- Comment #75 from Richard Biener <rguenth at gcc dot gnu.org> ---
For C++ another inefficiency is that we call (for the testcase from PR12245)
1630776 times cxx_eval_outermost_constant_expr which always allocates a
hash-map.
All but one of the calls are with t == INTEGER_CST. Called via
maybe_constant_init which has the same issue as maybe_constant_value
(see thread starting at
https://gcc.gnu.org/ml/gcc-patches/2017-02/msg00046.html).
More information about the Gcc-bugs
mailing list