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).