diff options
| author | Jason Merrill <jason@redhat.com> | 2021-04-16 13:52:02 -0400 | 
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2021-06-07 23:55:04 -0400 | 
| commit | 1a98f830332e5a623278aaeea39c2a88177b2a9a (patch) | |
| tree | 394b8795839aa54eec537dd66513b208bea6d90f /gcc/objc/objc-lang.c | |
| parent | f07edb5d7f3e77218ec846a9382f7c1d23e67b71 (diff) | |
| download | gcc-1a98f830332e5a623278aaeea39c2a88177b2a9a.zip gcc-1a98f830332e5a623278aaeea39c2a88177b2a9a.tar.gz gcc-1a98f830332e5a623278aaeea39c2a88177b2a9a.tar.bz2 | |
c++: preserve BASELINK from lookup [PR91706]
In the earlier patch for PR91706 I fixed the BASELINK built by
baselink_for_fns, but since we already had one from lookup, we should keep
that one around instead of stripping it.  The removed hunk in
get_class_binding was a wierdly large amount of code to decide whether to
pull out BASELINK_FUNCTIONS.
gcc/cp/ChangeLog:
	PR c++/91706
	* name-lookup.c (get_class_binding): Keep a BASELINK.
	(set_inherited_value_binding_p): Adjust.
	* lambda.c (is_lambda_ignored_entity): Adjust.
	* pt.c (lookup_template_function): Copy a BASELINK before
	modifying it.
Diffstat (limited to 'gcc/objc/objc-lang.c')
0 files changed, 0 insertions, 0 deletions
