diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-10 21:42:36 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-10 21:42:36 +0000 |
commit | 31db86df8fa1d3248c97de6c47dbd76fb74eaa8e (patch) | |
tree | 22f95d301fd585185ceb5330742ed82e7eb9e125 /gcc/fortran/interface.c | |
parent | f9d79f1857fef198c52f0224eeb4380566844aad (diff) |
PR c++/77337 - auto return and lambda
* pt.c (tsubst_friend_function): Don't set DECL_INITIAL.
(instantiate_decl): It's OK to defer a constexpr function.
* cp-tree.h (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION): Check
DECL_LANG_SPECIFIC.
* decl2.c (decl_defined_p): Use it. No longer static.
* decl.c (redeclaration_error_message): Use decl_defined_p.
* constexpr.c (cxx_eval_call_expression): Set input_location around
call to instantiate_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions