This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51305] [C++11][constexpr] noexcept-specifier overconstraints constexpr functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]