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

Reply via email to