https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120775
--- Comment #27 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #26) > https://forge.sourceware.org/marek/gcc/pulls/96 seems to fix that, shall I > merge that or do you want something else? Could we do just - refl = cxx_constant_value (refl); + refl = fold_non_dependent_expr (refl, tf_warning_or_error, + /*manifestly_const_eval=*/true); ?
