aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-06-07 15:52:30 -0400
committerJason Merrill <jason@redhat.com>2022-06-08 16:38:25 -0400
commite8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c (patch)
tree9dca7d858cc4aac7528d18a71525faf40a9b53b7 /gcc/fortran
parent7d87790a871482e9c5142a8e885b4a5f76d197c8 (diff)
downloadgcc-e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c.zip
gcc-e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c.tar.gz
gcc-e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c.tar.bz2
c++: non-templated friends [PR105852]
The previous patch for 105852 avoids copying DECL_TEMPLATE_INFO from a non-templated friend, but it really shouldn't have it in the first place. PR c++/105852 gcc/cp/ChangeLog: * decl.cc (duplicate_decls): Change non-templated friend check to an assert. * pt.cc (tsubst_function_decl): Don't set DECL_TEMPLATE_INFO on non-templated friends. (tsubst_friend_function): Adjust.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions