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++/49520] [C++0x] using-declaration and operator&& confuses constexpr


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-29 17:15:20 UTC ---
Author: jason
Date: Wed Jun 29 17:15:16 2011
New Revision: 175658

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175658
Log:
    PR c++/49520
    * semantics.c (constexpr_fn_retval): Handle CLEANUP_POINT_EXPR here.
    (massage_constexpr_body): Not here.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-using2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.def
    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]