https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
FWIW disabling the block containing the cp_fully_fold calls breaks
g++.dg/cpp0x/warn-ovl2.C and g++.dg/warn/multiple-overflow-warn-3.C,
unsurprisingly.

We can't leverage the fold_cache here because cp_fold only evaluates constexpr
calls if !flag_no_inline, but here we want to evaluate calls even at -O0.  And
we can't leverage the cv_cache either because it's not recursive.

Reply via email to