]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/50296 (New C++ test failures)
authorJason Merrill <jason@redhat.com>
Tue, 6 Sep 2011 18:09:01 +0000 (14:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 6 Sep 2011 18:09:01 +0000 (14:09 -0400)
commite2605091be4ae6b26d8df1d6b6842ff02a73a675
treee20937f632c58c1a01487434d4d86c8b697ce0c8
parentdf7b0cc4aae0620d830b8e9f8ed8a586e68f470b
re PR c++/50296 (New C++ test failures)

PR c++/50296
* semantics.c (register_constexpr_fundef): Call is_valid_constexpr_fn.
(cx_check_missing_mem_inits): Handle bases and empty trivial members.
(validate_constexpr_fundecl): Remove.
* decl.c (start_preparsed_function): Don't call it.
* cp-tree.h: Don't declare it.

From-SVN: r178604
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/constexpr-diag1.C
gcc/testsuite/g++.dg/cpp0x/constexpr-friend.C