12024-06-20 Release Manager 2 3 * GCC 12.4.0 released. 4 52024-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 6 7 Backported from master: 8 2024-03-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 9 10 PR middle-end/111632 11 * libcc1plugin.cc: Fix include. 12 * libcp1plugin.cc: Fix include. 13 142023-05-08 Release Manager 15 16 * GCC 12.3.0 released. 17 182022-08-19 Release Manager 19 20 * GCC 12.2.0 released. 21 222022-07-02 Sergei Trofimovich <siarheit@google.com> 23 24 Backported from master: 25 2022-06-27 Sergei Trofimovich <siarheit@google.com> 26 27 PR c++/106102 28 * libcc1plugin.cc: Include <memory> via "system.h". 29 * libcp1plugin.cc: Ditto. 30 312022-05-06 Release Manager 32 33 * GCC 12.1.0 released. 34 352021-12-16 Patrick Palka <ppalka@redhat.com> 36 37 PR c++/51577 38 PR c++/83035 39 PR c++/100465 40 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to 41 build_x_unary_op. 42 (plugin_build_binary_expr): Adjust call to build_x_binary_op. 43 442021-12-15 Iain Sandoe <iain@sandoe.co.uk> 45 46 * configure: Regenerate. 47 482021-08-17 Iain Sandoe <iain@sandoe.co.uk> 49 50 * Makefile.am: Switch mdynamic-no-pic to fPIC. 51 * Makefile.in: Regenerated. 52 532021-06-28 Martin Sebor <msebor@redhat.com> 54 55 * libcp1plugin.cc (record_decl_address): Replace a direct use 56 of TREE_NO_WARNING with suppress_warning. 57 582021-05-05 Tom Tromey <tom@tromey.com> 59 60 * compiler.cc (make_regexp): Take const std::string. 61 (cc1_plugin::compiler_triplet_regexp::find): Update. 62 632021-05-05 Tom Tromey <tom@tromey.com> 64 65 PR c/94669 66 * compiler.hh (compiler_driver_filename): Take const char *. 67 (compiler_triplet_regexp): Likewise. 68 692021-05-05 Tom Tromey <tom@tromey.com> 70 71 * rpc.hh (argument_wrapper) <get>: Replace cast operator. 72 (argument_wrapper<T *>) <get>: Likewise. 73 (unmarshall): Add std::tuple overloads. 74 (callback): Remove. 75 (class invoker): New. 76 * libcp1plugin.cc (plugin_init): Update. 77 * libcp1.cc (libcp1::add_callbacks): Update. 78 * libcc1plugin.cc (plugin_init): Update. 79 * libcc1.cc (libcc1::add_callbacks): Update. 80 * connection.cc (cc1_plugin::connection::do_wait): Update. 81 822021-05-05 Tom Tromey <tom@tromey.com> 83 84 * gdbctx.hh (do_compile): Use std::vector. 85 862021-05-05 Tom Tromey <tom@tromey.com> 87 88 * libcp1.cc (libcp1): Change parameters. Update. 89 (libcp1_set_verbose, libcp1_set_arguments) 90 (libcp1_set_triplet_regexp, libcp1_set_driver_filename) 91 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec) 92 (libcp1_compile, libcp1_destroy, vtable): Remove. 93 (libcp1::add_callbacks): New method, extracted from 94 libcp1_compile. 95 (gcc_c_fe_context): Update. 96 * libcc1.cc (libcc1): Change parameters. Update. 97 (libcc1_set_verbose, libcc1_set_arguments) 98 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 99 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec) 100 (libcc1_compile, libcc1_destroy, vtable): Remove. 101 (libcc1::add_callbacks): New method, extracted from 102 libcc1_compile. 103 (gcc_c_fe_context): Update. 104 * gdbctx.hh (base_gdb_plugin): Change parameters. 105 (~base_gdb_plugin): New. 106 <add_callbacks>: New virtual method. 107 <plugin_name, fe_version, compiler_name, vtable>: New members. 108 (get_self, do_set_verbose, do_set_arguments) 109 (do_set_triplet_regexp, do_set_driver_filename) 110 (do_set_arguments_v0, do_set_source_file, do_set_print_callback) 111 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods. 112 1132021-05-05 Tom Tromey <tom@tromey.com> 114 115 * libcp1.cc (vtable): Use GCC_FE_VERSION_1. 116 1172021-05-05 Tom Tromey <tom@tromey.com> 118 119 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove 120 shared code. 121 (class libcp1_connection): Remove. 122 (rpc): Remove. 123 (libcp1_set_verbose, libcp1_compile): Update. 124 (cp_call_binding_oracle, cp_call_symbol_address) 125 (cp_call_enter_scope, cp_call_leave_scope): Update. 126 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove 127 shared code. 128 (class libcc1_connection): Remove. 129 (c_call_binding_oracle, c_call_symbol_address): Update. 130 (rpc): Remove. 131 (libcc1_set_verbose, libcc1_compile): Update. 132 * gdbctx.hh: New file. 133 1342021-05-05 Tom Tromey <tom@tromey.com> 135 136 * libcc1plugin.cc: Move code to context.cc. 137 * libcp1plugin.cc: Move code to context.cc. 138 * context.hh: New file. 139 * context.cc: New file. 140 * Makefile.in: Rebuild. 141 * Makefile.am (AM_CPPFLAGS): Add more gcc flags. 142 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update. 143 (libcc1plugin_la_SOURCES): Add context.hh, context.cc. 144 (libcp1plugin_la_SOURCES): Likewise. 145 1462021-05-05 Tom Tromey <tom@tromey.com> 147 148 * libcp1plugin.cc: Use static assert. 149 1502021-05-05 Tom Tromey <tom@tromey.com> 151 152 * libcp1plugin.cc (plugin_context::mark): Use foreach. 153 * libcc1plugin.cc (plugin_context::mark): Use foreach. 154 1552021-05-05 Tom Tromey <tom@tromey.com> 156 157 * libcp1.cc (compiler, compiler_triplet_regexp) 158 (compiler_driver_filename): Remove. 159 (libcp1::libcp1): Update. 160 (make_regexp, libcp1::compiler::find) 161 (libcp1::compiler_triplet_regexp::find) 162 (libcp1::compiler_driver_filename::find): Remove. 163 (libcp1_set_verbose, libcp1_set_arguments) 164 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update. 165 * libcc1.cc (compiler, compiler_triplet_regexp) 166 (compiler_driver_filename): Remove. 167 (libcc1::libcc1): Update. 168 (make_regexp, libcc1::compiler::find) 169 (libcc1::compiler_triplet_regexp::find) 170 (libcc1::compiler_driver_filename::find): Remove. 171 (libcc1_set_verbose, libcc1_set_arguments) 172 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update. 173 * compiler.cc: New file. 174 * compiler.hh: New file. 175 * Makefile.in: Rebuild. 176 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc. 177 1782021-05-05 Tom Tromey <tom@tromey.com> 179 180 * libcp1.cc (struct libcp1) <connection, compilerp>: Use 181 unique_ptr. 182 (~libcp1): Remove. 183 (libcp1_compile, libcp1_set_triplet_regexp) 184 (libcp1_set_driver_filename): Update. 185 * libcc1.cc (struct libcc1) <connection, compilerp>: Use 186 unique_ptr. 187 (~libcc1): Remove. 188 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 189 (libcc1_compile): Update. 190 1912021-05-05 Tom Tromey <tom@tromey.com> 192 193 * rpc.hh (deleter): Move template and some specializations to 194 deleter.hh. 195 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr. 196 * marshall.cc (cc1_plugin::unmarshall): Use 197 cc1_plugin::unique_ptr. 198 * marshall-cp.hh (deleter): New specializations. 199 (unmarshall): Use cc1_plugin::unique_ptr. 200 * deleter.hh: New file. 201 2022021-05-05 Tom Tromey <tom@tromey.com> 203 204 * rpc.hh (struct deleter): New template class and 205 specializations. 206 (argument_wrapper): Remove specializations. Add specialization 207 for any pointer type. 208 2092021-05-05 Tom Tromey <tom@tromey.com> 210 211 * libcp1plugin.cc (plugin_build_function_type): Use std::vector. 212 * libcc1plugin.cc (plugin_build_function_type): Use std::vector. 213 2142021-05-05 Tom Tromey <tom@tromey.com> 215 216 * libcp1.cc (rpc): Use variadic template. Remove overloads. 217 * libcc1.cc (rpc): Use variadic template. Remove overloads. 218 2192021-05-05 Tom Tromey <tom@tromey.com> 220 221 * rpc.hh (call): Use variadic template. Remove overloads. 222 * marshall.hh (marshall): Add base overload. Use variadic 223 template. 224 2252021-05-05 Tom Tromey <tom@tromey.com> 226 227 * rpc.hh (argument_wrapper): Use delete for copy constructor. 228 * connection.hh (class connection): Use delete for copy 229 constructor. 230 * callbacks.hh (class callbacks): Use delete for copy constructor. 231 2322021-05-05 Tom Tromey <tom@tromey.com> 233 234 * connection.hh (~connection): Use default. 235 (print): Inline. 236 * connection.cc (cc1_plugin::connection::~connection) 237 (cc1_plugin::connection::print): Remove definitions. 238 2392021-05-05 Tom Tromey <tom@tromey.com> 240 241 * libcp1.cc (class compiler_triplet_regexp) 242 (class compiler_driver_filename, class libcp1_connection): Use 243 "override". 244 * libcc1.cc (class compiler_triplet_regexp) 245 (class compiler_driver_filename, class libcc1_connection): Use 246 "override". 247 2482021-05-05 Tom Tromey <tom@tromey.com> 249 250 * marshall.hh (cc1_plugin::unmarshall): Use type traits. 251 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads. 252 * marshall-c.hh: Remove. 253 * libcc1plugin.cc: Update includes. 254 * libcc1.cc: Update includes. 255 2562021-05-03 H.J. Lu <hjl.tools@gmail.com> 257 258 PR bootstrap/99703 259 * configure: Regenerated. 260 2612021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> 262 263 * configure: Re-generate. 264 2652020-12-18 Jakub Jelinek <jakub@redhat.com> 266 267 PR bootstrap/98380 268 * configure.ac: Set darwin_dynamic_lookup=no instead to empty 269 string. 270 * configure: Regenerated. 271 2722020-12-05 Iain Sandoe <iain@sandoe.co.uk> 273 274 PR target/97865 275 * Makefile.am: Add dynamic_lookup to LD flags for Darwin. 276 * configure.ac: Test for Darwin host and set a flag. 277 * Makefile.in: Regenerate. 278 * configure: Regenerate. 279 2802020-11-29 John David Anglin <danglin@gcc.gnu.org> 281 282 * configure: Regenerate. 283 2842020-11-11 Patrick Palka <ppalka@redhat.com> 285 286 PR c++/88115 287 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to 288 cxx_sizeof_or_alignof_expr. 289 2902020-11-10 Marek Polacek <polacek@redhat.com> 291 292 PR c++/97518 293 * libcp1plugin.cc (plugin_add_static_assert): Pass false to 294 finish_static_assert. 295 2962020-11-06 Nathan Sidwell <nathan@acm.org> 297 298 * libcc1plugin.cc (address_rewriter): Rename 299 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN. 300 * libcp1plugin.cc (supplement_binding): Likewise. 301 3022020-10-14 Nathan Sidwell <nathan@acm.org> 303 304 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P. 305 3062020-10-07 Nathan Sidwell <nathan@acm.org> 307 308 * libcp1plugin.cc (supplement_binding): Rename 309 DECL_BUILTIN_P. 310 3112020-10-02 Nathan Sidwell <nathan@acm.org> 312 313 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test. 314 3152020-09-25 Nathan Sidwell <nathan@acm.org> 316 317 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P. 318 3192020-09-24 Nathan Sidwell <nathan@acm.org> 320 321 * libcp1plugin.cc (supplement_binding): Drop default args to 322 duplicate_decls. 323 (safe_pushtag): Drop scope parm. Drop default args to pushtag. 324 (safe_pushdecl_maybe_friend): Rename to ... 325 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args 326 to pushdecl. 327 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls. 328 (plugin_build_constant): Adjust safe_pushdecl call. 329 3302020-09-10 Nathan Sidwell <nathan@acm.org> 331 332 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P. 333 3342020-08-14 Nathan Sidwell <nathan@acm.org> 335 336 * libcp1plugin.cc (plugin_build_dependent_expr): Rename 337 lookup_name_real call. 338 3392020-08-14 Nathan Sidwell <nathan@acm.org> 340 341 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust 342 lookup_name_real call. 343 3442020-08-14 Nathan Sidwell <nathan@acm.org> 345 346 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust 347 lookup_name_real & lookup_qualified_name calls. 348 3492020-08-13 Nathan Sidwell <nathan@acm.org> 350 351 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise. 352 3532020-07-30 H.J. Lu <hjl.tools@gmail.com> 354 355 PR bootstrap/96202 356 * configure: Regenerated. 357 3582020-06-30 Nathan Sidwell <nathan@acm.org> 359 360 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl 361 call. 362 3632020-05-29 H.J. Lu <hjl.tools@gmail.com> 364 365 PR bootstrap/95413 366 * configure: Regenerated. 367 3682020-05-14 H.J. Lu <hongjiu.lu@intel.com> 369 370 * configure: Regenerated. 371 3722020-05-12 H.J. Lu <hongjiu.lu@intel.com> 373 374 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS). 375 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and 376 AC_SUBST(CET_HOST_FLAGS). 377 * Makefile.in: Regenerated. 378 * aclocal.m4: Likewise. 379 * configure: Likewise. 380 3812020-02-12 Patrick Palka <ppalka@redhat.com> 382 383 PR c++/69448 384 PR c++/80471 385 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set 386 AUTO_IS_DECLTYPE anymore. 387 3882020-01-07 Paolo Carlini <paolo.carlini@oracle.com> 389 390 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call. 391 3922020-01-01 Jakub Jelinek <jakub@redhat.com> 393 394 Update copyright years. 395 3962019-12-30 Paolo Carlini <paolo.carlini@oracle.com> 397 398 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity 399 call. 400 4012019-12-18 Paolo Carlini <paolo.carlini@oracle.com> 402 403 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw 404 and cxx_sizeof_or_alignof_expr calls. 405 (plugin_build_unary_type_expr): Likewise for 406 cxx_sizeof_or_alignof_type. 407 4082019-12-09 Paolo Carlini <paolo.carlini@oracle.com> 409 410 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast 411 declaration. 412 4132019-12-05 Paolo Carlini <paolo.carlini@oracle.com> 414 415 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust 416 build_functional_cast call. 417 4182019-11-25 Paolo Carlini <paolo.carlini@oracle.com> 419 420 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update 421 cp_build_indirect_ref call. 422 4232019-09-27 Maciej W. Rozycki <macro@wdc.com> 424 425 * configure: Regenerate. 426 4272019-05-21 Nathan Sidwell <nathan@acm.org> 428 429 * libcp1plugin.cc (plugin_add_using_decl): Use 430 finish_nonmember_using_decl. 431 4322019-05-20 Nathan Sidwell <nathan@acm.org> 433 434 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed 435 finish_using_directive. 436 4372019-01-01 Jakub Jelinek <jakub@redhat.com> 438 439 Update copyright years. 440 4412018-11-13 David Malcolm <dmalcolm@redhat.com> 442 443 * libcc1plugin.cc: Replace "source_location" with "location_t". 444 (plugin_context::get_source_location): Rename to... 445 (plugin_context::get_location_t): ...this. 446 * libcp1plugin.cc: Likewise. 447 4482018-10-31 Joseph Myers <joseph@codesourcery.com> 449 450 PR bootstrap/82856 451 * configure.ac: Remove AC_PREREQ. 452 * Makefile.in, aclocal.m4, configure: Regenerate. 453 4542018-04-18 David Malcolm <dmalcolm@redhat.com> 455 456 PR jit/85384 457 * configure: Regenerate. 458 4592018-01-03 Jakub Jelinek <jakub@redhat.com> 460 461 Update copyright years. 462 4632017-11-14 Boris Kolpackov <boris@codesynthesis.com> 464 465 * configure: Regenerate. 466 4672017-11-16 Sergio Durigan Junior <sergiodj@redhat.com> 468 Pedro Alves <palves@redhat.com> 469 470 * Makefile.am: Remove references to c-compiler-name.h and 471 cp-compiler-name.h 472 * Makefile.in: Regenerate. 473 * compiler-name.hh: New file. 474 * libcc1.cc: Don't include c-compiler-name.h. Include 475 compiler-name.hh. 476 * libcp1.cc: Don't include cp-compiler-name.h. Include 477 compiler-name.hh. 478 4792017-11-01 Nathan Sidwell <nathan@acm.org> 480 481 * libcp1plugin.cc (plugin_build_decl): Use 482 DECL_OVERLOADED_OPERATOR_CODE_RAW. 483 4842017-10-31 Nathan Sidwell <nathan@acm.org> 485 486 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier. 487 Directly set operator code. 488 (plugin_build_dependent_expr): Use ovl_op_identifier. 489 4902017-10-04 Nathan Sidwell <nathan@acm.org> 491 492 * libcp1plugin.cc (supplement_binding): Don't use 493 maybe_remove_implicit_alias. 494 4952017-07-20 Nathan Sidwell <nathan@acm.org> 496 497 Remove TYPE_METHODS. 498 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS. 499 5002017-07-12 Nathan Sidwell <nathan@acm.org> 501 502 * libcp1plugin.cc (plugin_build_decl): Use 503 DECL_CXX_{CON,DE}STRUCTOR directly. 504 5052017-07-05 Richard Sandiford <richard.sandiford@linaro.org> 506 507 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE. 508 5092017-06-30 Nathan Sidwell <nathan@acm.org> 510 511 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name. 512 (plugin_build_dependent_expr): Likewise. 513 5142017-06-26 Nathan Sidwell <nathan@acm.org> 515 516 * libcp1plugin.cc (plugin_build_decl): Don't set 517 DECL_ASSIGNMENT_OPERATOR_P. 518 5192017-06-16 Nathan Sidwell <nathan@acm.org> 520 521 * libcp1plugin.cc (plugin_build_decl): Adjust parm building. 522 5232017-05-26 Nathan Sidwell <nathan@acm.org> 524 525 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees. 526 527 * libcp1plugin.cc (plugin_add_using_namespace): Call 528 finish_namespace_using_directive. 529 5302017-05-25 Nathan Sidwell <nathan@acm.org> 531 532 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set 533 DECL_NAMESPACE_INLINE_P. 534 5352017-05-23 Nathan Sidwell <nathan@acm.org> 536 537 * libcp1plugin.cc (plugin_add_using_decl): Call 538 finish_namespace_using_decl. Use assert not unreachable. 539 5402017-05-11 Nathan Sidwell <nathan@acm.org> 541 542 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl. 543 5442017-05-10 Nathan Sidwell <nathan@acm.org> 545 546 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. 547 5482017-04-15 Alexandre Oliva <aoliva@redhat.com> 549 550 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. 551 5522017-01-30 Alexandre Oliva <aoliva@redhat.com> 553 554 Introduce C++ support. 555 * Makefile.am (AM_CPPFLAGS): Move some -I flags to... 556 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ... 557 new macros. 558 (plugin_LTLIBRARIES): Add libcp1plugin.la. 559 (BUILT_SOURCES, MOSTLYCLEANFILES): Add... 560 (cp-compiler-name.h): ... this. New. 561 (c-compiler-name.h): Rename all over from... 562 (compiler-name.h): ... this. Create it atomically. 563 (marshall_c_source, marshall_cxx_source): New macros. 564 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc. 565 Add marshall_c_source expansion. 566 (libcc1plugin.lo_CPPFLAGS): New macro. 567 (libcp1plugin_la_LDFLAGS): Likewise. 568 (libcp1plugin_la_SOURCES): Likewise. 569 (libcp1plugin.lo_CPPFLAGS): Likewise. 570 (libcp1plugin_la_LIBADD): Likewise. 571 (libcp1plugin_la_DEPENDENCIES): Likewise. 572 (libcp1plugin_la_LINK): Likewise. 573 (libcc1_la_SOURCES): Added marshall_c_source and 574 marshall_cxx_source expansions. 575 * Makefile.in: Rebuild. 576 * compiler-name.h: Rename all over to... 577 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead 578 of COMPILER_NAME. 579 * plugin.cc: Rename all over to... 580 * libcc1plugin.cc: ... this. Include marshall-c.hh. 581 (address_rewriter): Drop cleaning up of VLA sizes. 582 (plugin_build_decl): Mark decls as external. 583 (plugin_tagbind): Propagate name to all variants. 584 (build_anonymous_node): New. 585 (plugin_build_record_type): Use it instead of make_node. 586 (plugin_build_union_type): Likewise. 587 (plugin_build_enum_type): Likewise. 588 (plugin_finish_record_or_union): Update all type variants. 589 (safe_lookup_builtin_type): New. 590 (plugin_int_check): Factor out of, and add checks to, ... 591 (plugin_int_type): ... this. Rename to... 592 (plugin_int_type_v0): ... this. 593 (plugin_int_type): New interface, new implementation. 594 (plugin_char_type): New. 595 (plugin_float_type_v0): Rename from... 596 (plugin_float_type): ... this. New interface, new implementation. 597 (plugin_init): Bump handshake version. 598 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h. 599 (call_binding_oracle): Rename to... 600 (c_call_binding_oracle): ... this, into anonymous namespace. 601 (call_symbol_address): Rename to... 602 (c_call_symbol_address): ... this, likewise. 603 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace. 604 (libcc1::compiler::find): Refer to C_COMPILER_NAME. 605 (fork_exec): Bump to GCC_C_FE_VERSION_1. 606 (libcc1_compile): Prefix callbacks with c_. 607 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1. 608 * libcc1.sym: Export gcc_cp_fe_context. 609 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc. 610 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc. 611 * libcp1plugin.sym: New. 612 * marshall-c.hh: New. Move C-specific types from... 613 * marshall.cc: ... this. 614 (cc1_plugin::marshall_array_start): New. 615 (cc1_plugin::marshall_array_elmts): New. 616 (cc1_plugin::marshall for gcc_type_array): Use the above. 617 (cc1_plugin::unmarshall_array_start): New. 618 (cc1_plugin::unmarshall_array_elmts): New. 619 (cc1_plugin::unmarshall for gcc_type_array): Use the above. 620 * marshall.hh: Declare the new array building blocks. 621 Drop C-specific unmarshall declarations. 622 * marshall-cp.hh: New. 623 * names.cc (GCC_METHOD#): Add LANG:: to method names. 624 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def. 625 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the 626 corresponding namespaces. 627 * rpc.hh: Don't include marshall.hh. 628 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for 629 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args. 630 6312017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com> 632 633 * findcomp.cc: Include system.h. 634 (search_dir): Return absolute filename. 635 636 * libcc1.cc (libcc1): Add class compiler with field compilerp, 637 class compiler_triplet_regexp and class 638 compiler_driver_filename. 639 (libcc1::libcc1): Initialize compilerp. 640 (libcc1::~libcc1): Delete compilerp. 641 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find) 642 (libcc1::compiler_driver_filename::find): New methods. 643 (libcc1_set_arguments): Remove parameter triplet_regexp. 644 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 645 (libcc1_set_arguments_v0): New functions. 646 (vtable): Use libcc1_set_arguments_v0, add 647 libcc1_set_arguments, libcc1_set_triplet_regexp and 648 libcc1_set_driver_filename. 649 650 * libcc1.cc: Include intl.h. 651 (struct libcc1): Add field verbose. 652 (libcc1::libcc1): Initialize it. 653 (libcc1_set_verbose): New function. 654 (libcc1_set_arguments): Print messages for VERBOSE. 655 (libcc1_compile): Remove parameter verbose. Use VERBOSE from 656 SELF. 657 (libcc1_compile_v0): New function. 658 (vtable): Use libcc1_compile_v0 and add libcc1_compile and 659 libcc1_set_verbose. 660 661 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1. 662 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1. 663 6642017-01-17 Jakub Jelinek <jakub@redhat.com> 665 666 PR other/79046 667 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only 668 use just major number from BASE-VER. 669 * configure: Regenerated. 670 * Makefile.in: Regenerated. 671 6722017-01-04 Jakub Jelinek <jakub@redhat.com> 673 674 Update copyright years. 675 6762016-11-18 Richard Sandiford <richard.sandiford@arm.com> 677 Alan Hayward <alan.hayward@arm.com> 678 David Sherwood <david.sherwood@arm.com> 679 680 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE. 681 6822016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 683 684 Update copyrights. 685 6862016-04-18 Michael Matz <matz@suse.de> 687 688 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN. 689 6902016-04-11 Segher Boessenkool <segher@kernel.crashing.org> 691 692 PR bootstrap/70173 693 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h . 694 (compiler-name.h): Shorten recipe so that it fits the line. 695 * Makefile.in: Regenerate. 696 6972016-03-14 Andreas Schwab <schwab@suse.de> 698 699 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute. 700 * configure: Regenerate. 701 * Makefile.in: Regenerate. 702 7032015-06-25 Richard Sandiford <richard.sandiford@arm.com> 704 705 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash 706 rather than typed_free_remove. Remove redudant typedefs. 707 7082015-06-25 Richard Sandiford <richard.sandiford@arm.com> 709 710 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather 711 than typed_noop_remove. Remove redudant typedefs. 712 (plugin_context): Use nofree_ptr_hash rather than pointer_hash. 713 (plugin_context::mark): Likewise. 714 7152015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> 716 717 * Makefile.in: Regenerated with automake-1.11.6. 718 * aclocal.m4: Likewise. 719 * configure: Likewise. 720 7212015-04-18 Trevor Saunders <tsaunders@mozilla.com> 722 723 * plugin.cc: Adjust for hash_table changes. 724 7252015-04-15 Andreas Schwab <schwab@suse.de> 726 727 PR bootstrap/65763 728 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part. 729 * Makefile.in: Regenerated. 730 7312015-01-30 Joseph Myers <joseph@codesourcery.com> 732 733 * plugin.cc: All callers of fatal_error changed to pass 734 input_location as first argument. 735 7362015-01-09 Michael Collison <michael.collison@linaro.org> 737 738 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h, 739 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h 740 due to flattening of tree.h. 741 7422014-11-21 H.J. Lu <hongjiu.lu@intel.com> 743 744 PR bootstrap/63784 745 * configure: Regenerated. 746 7472014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 748 749 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl. 750 * configure: Regenerate. 751 * connection.cc: Include <string.h>. 752 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL. 753 7542014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 755 756 PR target/63610 757 * configure: Regenerate. 758 7592014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 760 761 PR bootstrap/63699 762 PR bootstrap/63750 763 * plugin.cc: Don't include <string>. 764 7652014-10-29 Jakub Jelinek <jakub@redhat.com> 766 Phil Muldoon <pmuldoon@redhat.com> 767 768 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add 769 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC. 770 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC). 771 (WERROR_FLAG): Remove. 772 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG). 773 * configure: Regenerated. 774 * Makefile.in: Regenerated. 775 7762014-10-29 Jakub Jelinek <jakub@redhat.com> 777 778 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address. 779 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep): 780 New variables. 781 (libiberty): Set to -Wc, followed by the first existing noasan/, 782 pic/ or . libiberty.a. 783 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK, 784 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables. 785 * Makefile.in: Regenerated. 786 7872014-10-27 Phil Muldoon <pmuldoon@redhat.com> 788 Jan Kratochvil <jan.kratochvil@redhat.com> 789 Tom Tromey <tromey@redhat.com> 790 791 * aclocal.m4: New file. 792 * callbacks.cc: New file. 793 * callbacks.hh: New file. 794 * cc1plugin-config.h.in: New file. 795 * configure: New file. 796 * configure.ac: New file. 797 * connection.cc: New file. 798 * connection.hh: New file. 799 * findcomp.cc: New file. 800 * findcomp.hh: New file. 801 * libcc1.cc: New file. 802 * libcc1plugin.sym: New file. 803 * libcc1.sym: New file. 804 * Makefile.am: New file. 805 * Makefile.in: New file. 806 * marshall.cc: New file. 807 * marshall.hh: New file. 808 * names.cc: New file. 809 * names.hh: New file. 810 * plugin.cc: New file. 811 * rpc.hh: New file. 812 * status.hh: New file. 813