aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-11-10 16:42:36 -0500
committerJason Merrill <jason@gcc.gnu.org>2016-11-10 16:42:36 -0500
commitf065303fcf9aa29bf376cf9db985b81d338d7709 (patch)
tree22f95d301fd585185ceb5330742ed82e7eb9e125 /gcc/fortran/decl.c
parent28d1bf44643294ccac3c609104ad06b567b44149 (diff)
downloadgcc-f065303fcf9aa29bf376cf9db985b81d338d7709.zip
gcc-f065303fcf9aa29bf376cf9db985b81d338d7709.tar.gz
gcc-f065303fcf9aa29bf376cf9db985b81d338d7709.tar.bz2
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. From-SVN: r242056
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions