re PR c++/49520 ([C++0x] using-declaration and operator&& confuses constexpr)
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2011 17:15:16 +0000 (13:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Jun 2011 17:15:16 +0000 (13:15 -0400)
commit11324716c13e1bc1bb4f29088d82aa4c7f074a83
treebb678288bc202fc58cc3ade3c24f2021d924c3bb
parent40d55020a382cc1836911b9702f6880b49c1d955
re PR c++/49520 ([C++0x] using-declaration and operator&& confuses constexpr)

PR c++/49520
* semantics.c (constexpr_fn_retval): Handle CLEANUP_POINT_EXPR here.
(massage_constexpr_body): Not here.

From-SVN: r175658
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-using2.C [new file with mode: 0644]