]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/65942
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2015 02:28:25 +0000 (02:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2015 02:28:25 +0000 (02:28 +0000)
commit8afcf8310b963b9f903b119060b6c363f8a18fe8
treee73101948543e48f9fa6eaa1f25cffe11c9ab0be
parent399fbdbdddd6ea476c7f47d20bd2ceb0be827218
PR c++/65942
* decl2.c (mark_used): Don't always instantiate constexpr fns.
* constexpr.c (cxx_eval_call_expression): Instantiate them here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/decl2.c
gcc/testsuite/g++.dg/cpp0x/constexpr-decltype2.C [new file with mode: 0644]