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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Regress on gcc-8 branch with:

    backport: re PR c++/87934 (struct with NSDMI of enum makes initialization a
non-constant expression)

            Backported from mainline
            2018-12-19  Jakub Jelinek  <ja...@redhat.com>

            PR c++/87934
            * constexpr.c (cxx_eval_constant_expression) <case CONSTRUCTOR>: Do
            re-process TREE_CONSTANT CONSTRUCTORs if they aren't reduced
constant
            expressions.

            * g++.dg/cpp0x/constexpr-87934.C: New test.

    From-SVN: r267711

Reply via email to