]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcc1/ChangeLog
testsuite: update builtins-5-p9-runnable.c for BE
[thirdparty/gcc.git] / libcc1 / ChangeLog
index 9080b28755f193f56a0327104ccd5da0148289fb..4462625c2eb726ea0ace428ec736310bfd4c9dfd 100644 (file)
@@ -1,3 +1,316 @@
+2022-11-01  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
+       Initialize the per-scope, per-signature discriminator.
+
+2022-11-01  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (plugin_start_closure): Adjust.
+
+2022-10-12  Martin Liska  <mliska@suse.cz>
+
+       * configure: Regenerate.
+
+2022-10-11  Olivier Hainque  <hainque@adacore.com>
+           Olivier Hainque  <hainque@adacore.com>
+
+       * configure: Regenerate.
+
+2022-06-27  Sergei Trofimovich  <siarheit@google.com>
+
+       PR c++/106102
+       * libcc1plugin.cc: Include <memory> via "system.h".
+       * libcp1plugin.cc: Ditto.
+
+2022-06-01  David Seifert  <soap@gentoo.org>
+
+       PR plugins/95648
+       * configure: Regenerate.
+
+2021-12-16  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/51577
+       PR c++/83035
+       PR c++/100465
+       * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
+       build_x_unary_op.
+       (plugin_build_binary_expr): Adjust call to build_x_binary_op.
+
+2021-12-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * configure: Regenerate.
+
+2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * Makefile.am: Switch mdynamic-no-pic to fPIC.
+       * Makefile.in: Regenerated.
+
+2021-06-28  Martin Sebor  <msebor@redhat.com>
+
+       * libcp1plugin.cc (record_decl_address): Replace a direct use
+       of TREE_NO_WARNING with suppress_warning.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * compiler.cc (make_regexp): Take const std::string.
+       (cc1_plugin::compiler_triplet_regexp::find): Update.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       PR c/94669
+       * compiler.hh (compiler_driver_filename): Take const char *.
+       (compiler_triplet_regexp): Likewise.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * rpc.hh (argument_wrapper) <get>: Replace cast operator.
+       (argument_wrapper<T *>) <get>: Likewise.
+       (unmarshall): Add std::tuple overloads.
+       (callback): Remove.
+       (class invoker): New.
+       * libcp1plugin.cc (plugin_init): Update.
+       * libcp1.cc (libcp1::add_callbacks): Update.
+       * libcc1plugin.cc (plugin_init): Update.
+       * libcc1.cc (libcc1::add_callbacks): Update.
+       * connection.cc (cc1_plugin::connection::do_wait): Update.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * gdbctx.hh (do_compile): Use std::vector.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (libcp1): Change parameters.  Update.
+       (libcp1_set_verbose, libcp1_set_arguments)
+       (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
+       (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
+       (libcp1_compile, libcp1_destroy, vtable): Remove.
+       (libcp1::add_callbacks): New method, extracted from
+       libcp1_compile.
+       (gcc_c_fe_context): Update.
+       * libcc1.cc (libcc1): Change parameters.  Update.
+       (libcc1_set_verbose, libcc1_set_arguments)
+       (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
+       (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
+       (libcc1_compile, libcc1_destroy, vtable): Remove.
+       (libcc1::add_callbacks): New method, extracted from
+       libcc1_compile.
+       (gcc_c_fe_context): Update.
+       * gdbctx.hh (base_gdb_plugin): Change parameters.
+       (~base_gdb_plugin): New.
+       <add_callbacks>: New virtual method.
+       <plugin_name, fe_version, compiler_name, vtable>: New members.
+       (get_self, do_set_verbose, do_set_arguments)
+       (do_set_triplet_regexp, do_set_driver_filename)
+       (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
+       (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
+       shared code.
+       (class libcp1_connection): Remove.
+       (rpc): Remove.
+       (libcp1_set_verbose, libcp1_compile): Update.
+       (cp_call_binding_oracle, cp_call_symbol_address)
+       (cp_call_enter_scope, cp_call_leave_scope): Update.
+       * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
+       shared code.
+       (class libcc1_connection): Remove.
+       (c_call_binding_oracle, c_call_symbol_address): Update.
+       (rpc): Remove.
+       (libcc1_set_verbose, libcc1_compile): Update.
+       * gdbctx.hh: New file.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcc1plugin.cc: Move code to context.cc.
+       * libcp1plugin.cc: Move code to context.cc.
+       * context.hh: New file.
+       * context.cc: New file.
+       * Makefile.in: Rebuild.
+       * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
+       (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
+       (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
+       (libcp1plugin_la_SOURCES): Likewise.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1plugin.cc: Use static assert.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1plugin.cc (plugin_context::mark): Use foreach.
+       * libcc1plugin.cc (plugin_context::mark): Use foreach.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (compiler, compiler_triplet_regexp)
+       (compiler_driver_filename): Remove.
+       (libcp1::libcp1): Update.
+       (make_regexp, libcp1::compiler::find)
+       (libcp1::compiler_triplet_regexp::find)
+       (libcp1::compiler_driver_filename::find): Remove.
+       (libcp1_set_verbose, libcp1_set_arguments)
+       (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
+       * libcc1.cc (compiler, compiler_triplet_regexp)
+       (compiler_driver_filename): Remove.
+       (libcc1::libcc1): Update.
+       (make_regexp, libcc1::compiler::find)
+       (libcc1::compiler_triplet_regexp::find)
+       (libcc1::compiler_driver_filename::find): Remove.
+       (libcc1_set_verbose, libcc1_set_arguments)
+       (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
+       * compiler.cc: New file.
+       * compiler.hh: New file.
+       * Makefile.in: Rebuild.
+       * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (struct libcp1) <connection, compilerp>: Use
+       unique_ptr.
+       (~libcp1): Remove.
+       (libcp1_compile, libcp1_set_triplet_regexp)
+       (libcp1_set_driver_filename): Update.
+       * libcc1.cc (struct libcc1) <connection, compilerp>: Use
+       unique_ptr.
+       (~libcc1): Remove.
+       (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
+       (libcc1_compile): Update.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * rpc.hh (deleter): Move template and some specializations to
+       deleter.hh.
+       (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
+       * marshall.cc (cc1_plugin::unmarshall): Use
+       cc1_plugin::unique_ptr.
+       * marshall-cp.hh (deleter): New specializations.
+       (unmarshall): Use cc1_plugin::unique_ptr.
+       * deleter.hh: New file.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * rpc.hh (struct deleter): New template class and
+       specializations.
+       (argument_wrapper): Remove specializations.  Add specialization
+       for any pointer type.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
+       * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (rpc): Use variadic template.  Remove overloads.
+       * libcc1.cc (rpc): Use variadic template.  Remove overloads.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * rpc.hh (call): Use variadic template.  Remove overloads.
+       * marshall.hh (marshall): Add base overload.  Use variadic
+       template.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * rpc.hh (argument_wrapper): Use delete for copy constructor.
+       * connection.hh (class connection): Use delete for copy
+       constructor.
+       * callbacks.hh (class callbacks): Use delete for copy constructor.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * connection.hh (~connection): Use default.
+       (print): Inline.
+       * connection.cc (cc1_plugin::connection::~connection)
+       (cc1_plugin::connection::print): Remove definitions.
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * libcp1.cc (class compiler_triplet_regexp)
+       (class compiler_driver_filename, class libcp1_connection): Use
+       "override".
+       * libcc1.cc (class compiler_triplet_regexp)
+       (class compiler_driver_filename, class libcc1_connection): Use
+       "override".
+
+2021-05-05  Tom Tromey  <tom@tromey.com>
+
+       * marshall.hh (cc1_plugin::unmarshall): Use type traits.
+       * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
+       * marshall-c.hh: Remove.
+       * libcc1plugin.cc: Update includes.
+       * libcc1.cc: Update includes.
+
+2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/99703
+       * configure: Regenerated.
+
+2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * configure: Re-generate.
+
+2020-12-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/98380
+       * configure.ac: Set darwin_dynamic_lookup=no instead to empty
+       string.
+       * configure: Regenerated.
+
+2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR target/97865
+       * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
+       * configure.ac: Test for Darwin host and set a flag.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
+
+       * configure: Regenerate.
+
+2020-11-11  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/88115
+       * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
+       cxx_sizeof_or_alignof_expr.
+
+2020-11-10  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/97518
+       * libcp1plugin.cc (plugin_add_static_assert): Pass false to
+       finish_static_assert.
+
+2020-11-06  Nathan Sidwell  <nathan@acm.org>
+
+       * libcc1plugin.cc (address_rewriter): Rename
+       DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
+       * libcp1plugin.cc (supplement_binding): Likewise.
+
+2020-10-14  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
+
+2020-10-07  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (supplement_binding): Rename
+       DECL_BUILTIN_P.
+
+2020-10-02  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
+
+2020-09-25  Nathan Sidwell  <nathan@acm.org>
+
+       * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
+
 2020-09-24  Nathan Sidwell  <nathan@acm.org>
 
        * libcp1plugin.cc (supplement_binding): Drop default args to