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

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

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For the C++ FE, the question here is why we actually emit dynamic
initialization at all.  If constexpr is added to the ctor, then we just emit
the initializer, but even without the constexpr I'd think that if the ctor has
empty body and trivial mem initializers and if all arguments of the ctors are
constants, as an optimization we should handle it as if it was declared
constexpr.  Jason?

Reply via email to