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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 16 20:22:35 2016
New Revision: 240196

URL: https://gcc.gnu.org/viewcvs?rev=240196&root=gcc&view=rev
Log:
        PR c++/77338
        * constexpr.c (cxx_eval_constant_expression) <case PARM_DECL>: Only
        call is_really_empty_class on complete types.

        * g++.dg/cpp0x/decltype-77338.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype-77338.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to