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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We could have some FE constant expression evaluation mode in which we'd
guarantee that if the initializer/expression was manifestly constant evaluated,
it has been constant expression evaluated with manifestly_const_eval=true
already and do that as a last resort folding of initializers or perhaps
expressions in cp_fold_function or so.
But as you wrote, we can't do that by default for !manifestly_const_eval
evaluation, because we often do that before we evaluate those with
manifestly_const_eval=true.

Reply via email to