http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48296

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-29 
14:26:43 UTC ---
Author: jason
Date: Tue Mar 29 14:26:33 2011
New Revision: 171675

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171675
Log:
    PR c++/48296
    * decl.c (cp_finish_decl): Defer validation of constexpr member
    functions.
    * class.c (finalize_literal_type_property): Validate them here.
    * semantics.c (is_valid_constexpr_fn): Don't check completeness.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-memfn1.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/class.c
    branches/gcc-4_6-branch/gcc/cp/decl.c
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Reply via email to