[Bug c++/51305] [C++11][constexpr] noexcept-specifier overconstraints constexpr functions
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 21 16:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51305
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-21 16:28:19 UTC ---
Author: paolo
Date: Wed Dec 21 16:28:08 2011
New Revision: 182594
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182594
Log:
/cp
2011-12-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51305
* semantics.c (massage_constexpr_body): Reorder conditionals, make
sure a BIND_EXPR embedded in a MUST_NOT_THROW_EXPR is handled.
/testsuite
2011-12-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51305
* g++.dg/cpp0x/constexpr-noexcept6.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-noexcept6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list