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 libstdc++/65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942

--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  2 02:28:25 2015
New Revision: 224008

URL: https://gcc.gnu.org/viewcvs?rev=224008&root=gcc&view=rev
Log:
        PR c++/65942
        * decl2.c (mark_used): Don't always instantiate constexpr fns.
        * constexpr.c (cxx_eval_call_expression): Instantiate them here.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-decltype2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/decl2.c


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