This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move DECL_VINDEX and DECL_SAVED_TREE into function_decl
- From: Jason Merrill <jason at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Tue, 24 Jun 2014 10:53:16 -0400
- Subject: Re: Move DECL_VINDEX and DECL_SAVED_TREE into function_decl
- Authentication-results: sourceware.org; auth=none
- References: <20140623202541 dot GA21820 at kam dot mff dot cuni dot cz>
On 06/23/2014 04:25 PM, Jan Hubicka wrote:
* class.c (check_methods, create_vtable_ptr, determine_key_method,
add_vcall_offset_vtbl_entries_1): Guard VINDEX checks by FUNCTION_DECL check.
These changes are unnecessary: TYPE_METHODS is a list of functions.
The rest of the patch is OK.
Jason