diff options
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/ChangeLog | 4 | ||||
-rw-r--r-- | libcc1/libcp1plugin.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index a6b9985e4ab..17310a0f794 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,7 @@ +2017-05-10 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. + 2017-04-15 Alexandre Oliva <aoliva@redhat.com> * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc index 2464aa2f39d..f67f8b34f58 100644 --- a/libcc1/libcp1plugin.cc +++ b/libcc1/libcp1plugin.cc @@ -1579,7 +1579,7 @@ plugin_build_decl (cc1_plugin::connection *self, reversal. */ tree save = DECL_CHAIN (decl); DECL_CHAIN (decl) = NULL_TREE; - clone_function_decl (decl, /*update_method_vec_p=*/1); + clone_function_decl (decl, /*update_methods=*/true); gcc_assert (TYPE_METHODS (current_class_type) == decl); TYPE_METHODS (current_class_type) = nreverse (TYPE_METHODS (current_class_type)); |