1 2025-05-23 Release Manager 2 3 * GCC 14.3.0 released. 4 5 2024-08-01 Release Manager 6 7 * GCC 14.2.0 released. 8 9 2024-05-07 Release Manager 10 11 * GCC 14.1.0 released. 12 13 2024-03-16 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org> 14 15 PR middle-end/111632 16 * libcc1plugin.cc: Fix include. 17 * libcp1plugin.cc: Fix include. 18 19 2024-02-29 Tom Tromey <tom (a] tromey.com> 20 21 PR libcc1/113977 22 * libcc1plugin.cc (plugin_finish_record_or_union): New function. 23 (plugin_finish_record_or_union): Rewrite. 24 (plugin_init): Use GCC_C_FE_VERSION_2. 25 * libcc1.cc (c_vtable): Use GCC_C_FE_VERSION_2. 26 (gcc_c_fe_context): Check for GCC_C_FE_VERSION_2. 27 28 2024-02-29 Tom Tromey <tom (a] tromey.com> 29 30 * libcp1.cc (libcp1::libcp1): Use FE version number from context. 31 * libcc1.cc (libcc1::libcc1): Use FE version number from context. 32 (c_vtable): Use GCC_C_FE_VERSION_1. 33 34 2024-02-29 Tom Tromey <tom (a] tromey.com> 35 36 * libcc1plugin.cc (safe_lookup_builtin_type): Handle ERROR_MARK. 37 (plugin_int_type): Fall back to plugin_int_type_v0. 38 (plugin_float_type): Fall back to plugin_float_type_v0. 39 40 2024-02-09 Marek Polacek <polacek (a] redhat.com> 41 42 PR c++/98388 43 * libcp1plugin.cc (plugin_build_unary_expr): Pass tf_error to 44 build_throw. 45 46 2024-01-09 waffl3x <waffl3x (a] protonmail.com> 47 Jason Merrill <jason (a] redhat.com> 48 49 PR c++/102609 50 * libcp1plugin.cc (plugin_pragma_push_user_expression): Don't use 51 DECL_NONSTATIC_MEMBER_FUNCTION_P. 52 53 2023-12-06 David Malcolm <dmalcolm (a] redhat.com> 54 55 * context.cc (plugin_print_error_function): Make diagnostic_info 56 param const. 57 58 2023-11-16 Tom Tromey <tom (a] tromey.com> 59 60 * libcc1plugin.cc (plugin_build_enum_type): Set 61 ENUM_UNDERLYING_TYPE. 62 63 2023-10-22 Iain Sandoe <iain (a] sandoe.co.uk> 64 65 * configure: Regenerate. 66 67 2023-08-11 Joseph Myers <joseph (a] codesourcery.com> 68 69 * configure: Regenerate. 70 71 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 72 73 * configure: Regenerate. 74 75 2023-08-07 Alexander von Gluck IV <kallisti5 (a] unixzen.com> 76 77 * configure: Regenerate. 78 79 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 80 81 * configure: Regenerate. 82 83 2023-08-07 Nick Alcock <nick.alcock (a] oracle.com> 84 85 * configure: Regenerate. 86 87 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com> 88 89 * configure: Regenerate. 90 91 2023-08-07 H.J. Lu <hjl.tools (a] gmail.com> 92 93 * configure: Regenerate. 94 95 2023-05-18 Bernhard Reutner-Fischer <aldot (a] gcc.gnu.org> 96 97 * libcc1plugin.cc (plugin_float_type): Ditto. 98 * libcp1plugin.cc (plugin_reactivate_decl): Ditto. 99 (plugin_get_float_type): Ditto. 100 101 2022-11-01 Nathan Sidwell <nathan (a] acm.org> 102 103 * libcp1plugin.cc (plugin_start_lambda_closure_class_type): 104 Initialize the per-scope, per-signature discriminator. 105 106 2022-11-01 Nathan Sidwell <nathan (a] acm.org> 107 108 * libcp1plugin.cc (plugin_start_closure): Adjust. 109 110 2022-10-12 Martin Liska <mliska (a] suse.cz> 111 112 * configure: Regenerate. 113 114 2022-10-11 Olivier Hainque <hainque (a] adacore.com> 115 Olivier Hainque <hainque (a] adacore.com> 116 117 * configure: Regenerate. 118 119 2022-06-27 Sergei Trofimovich <siarheit (a] google.com> 120 121 PR c++/106102 122 * libcc1plugin.cc: Include <memory> via "system.h". 123 * libcp1plugin.cc: Ditto. 124 125 2022-06-01 David Seifert <soap (a] gentoo.org> 126 127 PR plugins/95648 128 * configure: Regenerate. 129 130 2021-12-16 Patrick Palka <ppalka (a] redhat.com> 131 132 PR c++/51577 133 PR c++/83035 134 PR c++/100465 135 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to 136 build_x_unary_op. 137 (plugin_build_binary_expr): Adjust call to build_x_binary_op. 138 139 2021-12-15 Iain Sandoe <iain (a] sandoe.co.uk> 140 141 * configure: Regenerate. 142 143 2021-08-17 Iain Sandoe <iain (a] sandoe.co.uk> 144 145 * Makefile.am: Switch mdynamic-no-pic to fPIC. 146 * Makefile.in: Regenerated. 147 148 2021-06-28 Martin Sebor <msebor (a] redhat.com> 149 150 * libcp1plugin.cc (record_decl_address): Replace a direct use 151 of TREE_NO_WARNING with suppress_warning. 152 153 2021-05-05 Tom Tromey <tom (a] tromey.com> 154 155 * compiler.cc (make_regexp): Take const std::string. 156 (cc1_plugin::compiler_triplet_regexp::find): Update. 157 158 2021-05-05 Tom Tromey <tom (a] tromey.com> 159 160 PR c/94669 161 * compiler.hh (compiler_driver_filename): Take const char *. 162 (compiler_triplet_regexp): Likewise. 163 164 2021-05-05 Tom Tromey <tom (a] tromey.com> 165 166 * rpc.hh (argument_wrapper) <get>: Replace cast operator. 167 (argument_wrapper<T *>) <get>: Likewise. 168 (unmarshall): Add std::tuple overloads. 169 (callback): Remove. 170 (class invoker): New. 171 * libcp1plugin.cc (plugin_init): Update. 172 * libcp1.cc (libcp1::add_callbacks): Update. 173 * libcc1plugin.cc (plugin_init): Update. 174 * libcc1.cc (libcc1::add_callbacks): Update. 175 * connection.cc (cc1_plugin::connection::do_wait): Update. 176 177 2021-05-05 Tom Tromey <tom (a] tromey.com> 178 179 * gdbctx.hh (do_compile): Use std::vector. 180 181 2021-05-05 Tom Tromey <tom (a] tromey.com> 182 183 * libcp1.cc (libcp1): Change parameters. Update. 184 (libcp1_set_verbose, libcp1_set_arguments) 185 (libcp1_set_triplet_regexp, libcp1_set_driver_filename) 186 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec) 187 (libcp1_compile, libcp1_destroy, vtable): Remove. 188 (libcp1::add_callbacks): New method, extracted from 189 libcp1_compile. 190 (gcc_c_fe_context): Update. 191 * libcc1.cc (libcc1): Change parameters. Update. 192 (libcc1_set_verbose, libcc1_set_arguments) 193 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 194 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec) 195 (libcc1_compile, libcc1_destroy, vtable): Remove. 196 (libcc1::add_callbacks): New method, extracted from 197 libcc1_compile. 198 (gcc_c_fe_context): Update. 199 * gdbctx.hh (base_gdb_plugin): Change parameters. 200 (~base_gdb_plugin): New. 201 <add_callbacks>: New virtual method. 202 <plugin_name, fe_version, compiler_name, vtable>: New members. 203 (get_self, do_set_verbose, do_set_arguments) 204 (do_set_triplet_regexp, do_set_driver_filename) 205 (do_set_arguments_v0, do_set_source_file, do_set_print_callback) 206 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods. 207 208 2021-05-05 Tom Tromey <tom (a] tromey.com> 209 210 * libcp1.cc (vtable): Use GCC_FE_VERSION_1. 211 212 2021-05-05 Tom Tromey <tom (a] tromey.com> 213 214 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove 215 shared code. 216 (class libcp1_connection): Remove. 217 (rpc): Remove. 218 (libcp1_set_verbose, libcp1_compile): Update. 219 (cp_call_binding_oracle, cp_call_symbol_address) 220 (cp_call_enter_scope, cp_call_leave_scope): Update. 221 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove 222 shared code. 223 (class libcc1_connection): Remove. 224 (c_call_binding_oracle, c_call_symbol_address): Update. 225 (rpc): Remove. 226 (libcc1_set_verbose, libcc1_compile): Update. 227 * gdbctx.hh: New file. 228 229 2021-05-05 Tom Tromey <tom (a] tromey.com> 230 231 * libcc1plugin.cc: Move code to context.cc. 232 * libcp1plugin.cc: Move code to context.cc. 233 * context.hh: New file. 234 * context.cc: New file. 235 * Makefile.in: Rebuild. 236 * Makefile.am (AM_CPPFLAGS): Add more gcc flags. 237 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update. 238 (libcc1plugin_la_SOURCES): Add context.hh, context.cc. 239 (libcp1plugin_la_SOURCES): Likewise. 240 241 2021-05-05 Tom Tromey <tom (a] tromey.com> 242 243 * libcp1plugin.cc: Use static assert. 244 245 2021-05-05 Tom Tromey <tom (a] tromey.com> 246 247 * libcp1plugin.cc (plugin_context::mark): Use foreach. 248 * libcc1plugin.cc (plugin_context::mark): Use foreach. 249 250 2021-05-05 Tom Tromey <tom (a] tromey.com> 251 252 * libcp1.cc (compiler, compiler_triplet_regexp) 253 (compiler_driver_filename): Remove. 254 (libcp1::libcp1): Update. 255 (make_regexp, libcp1::compiler::find) 256 (libcp1::compiler_triplet_regexp::find) 257 (libcp1::compiler_driver_filename::find): Remove. 258 (libcp1_set_verbose, libcp1_set_arguments) 259 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update. 260 * libcc1.cc (compiler, compiler_triplet_regexp) 261 (compiler_driver_filename): Remove. 262 (libcc1::libcc1): Update. 263 (make_regexp, libcc1::compiler::find) 264 (libcc1::compiler_triplet_regexp::find) 265 (libcc1::compiler_driver_filename::find): Remove. 266 (libcc1_set_verbose, libcc1_set_arguments) 267 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update. 268 * compiler.cc: New file. 269 * compiler.hh: New file. 270 * Makefile.in: Rebuild. 271 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc. 272 273 2021-05-05 Tom Tromey <tom (a] tromey.com> 274 275 * libcp1.cc (struct libcp1) <connection, compilerp>: Use 276 unique_ptr. 277 (~libcp1): Remove. 278 (libcp1_compile, libcp1_set_triplet_regexp) 279 (libcp1_set_driver_filename): Update. 280 * libcc1.cc (struct libcc1) <connection, compilerp>: Use 281 unique_ptr. 282 (~libcc1): Remove. 283 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 284 (libcc1_compile): Update. 285 286 2021-05-05 Tom Tromey <tom (a] tromey.com> 287 288 * rpc.hh (deleter): Move template and some specializations to 289 deleter.hh. 290 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr. 291 * marshall.cc (cc1_plugin::unmarshall): Use 292 cc1_plugin::unique_ptr. 293 * marshall-cp.hh (deleter): New specializations. 294 (unmarshall): Use cc1_plugin::unique_ptr. 295 * deleter.hh: New file. 296 297 2021-05-05 Tom Tromey <tom (a] tromey.com> 298 299 * rpc.hh (struct deleter): New template class and 300 specializations. 301 (argument_wrapper): Remove specializations. Add specialization 302 for any pointer type. 303 304 2021-05-05 Tom Tromey <tom (a] tromey.com> 305 306 * libcp1plugin.cc (plugin_build_function_type): Use std::vector. 307 * libcc1plugin.cc (plugin_build_function_type): Use std::vector. 308 309 2021-05-05 Tom Tromey <tom (a] tromey.com> 310 311 * libcp1.cc (rpc): Use variadic template. Remove overloads. 312 * libcc1.cc (rpc): Use variadic template. Remove overloads. 313 314 2021-05-05 Tom Tromey <tom (a] tromey.com> 315 316 * rpc.hh (call): Use variadic template. Remove overloads. 317 * marshall.hh (marshall): Add base overload. Use variadic 318 template. 319 320 2021-05-05 Tom Tromey <tom (a] tromey.com> 321 322 * rpc.hh (argument_wrapper): Use delete for copy constructor. 323 * connection.hh (class connection): Use delete for copy 324 constructor. 325 * callbacks.hh (class callbacks): Use delete for copy constructor. 326 327 2021-05-05 Tom Tromey <tom (a] tromey.com> 328 329 * connection.hh (~connection): Use default. 330 (print): Inline. 331 * connection.cc (cc1_plugin::connection::~connection) 332 (cc1_plugin::connection::print): Remove definitions. 333 334 2021-05-05 Tom Tromey <tom (a] tromey.com> 335 336 * libcp1.cc (class compiler_triplet_regexp) 337 (class compiler_driver_filename, class libcp1_connection): Use 338 "override". 339 * libcc1.cc (class compiler_triplet_regexp) 340 (class compiler_driver_filename, class libcc1_connection): Use 341 "override". 342 343 2021-05-05 Tom Tromey <tom (a] tromey.com> 344 345 * marshall.hh (cc1_plugin::unmarshall): Use type traits. 346 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads. 347 * marshall-c.hh: Remove. 348 * libcc1plugin.cc: Update includes. 349 * libcc1.cc: Update includes. 350 351 2021-05-03 H.J. Lu <hjl.tools (a] gmail.com> 352 353 PR bootstrap/99703 354 * configure: Regenerated. 355 356 2021-01-05 Samuel Thibault <samuel.thibault (a] ens-lyon.org> 357 358 * configure: Re-generate. 359 360 2020-12-18 Jakub Jelinek <jakub (a] redhat.com> 361 362 PR bootstrap/98380 363 * configure.ac: Set darwin_dynamic_lookup=no instead to empty 364 string. 365 * configure: Regenerated. 366 367 2020-12-05 Iain Sandoe <iain (a] sandoe.co.uk> 368 369 PR target/97865 370 * Makefile.am: Add dynamic_lookup to LD flags for Darwin. 371 * configure.ac: Test for Darwin host and set a flag. 372 * Makefile.in: Regenerate. 373 * configure: Regenerate. 374 375 2020-11-29 John David Anglin <danglin (a] gcc.gnu.org> 376 377 * configure: Regenerate. 378 379 2020-11-11 Patrick Palka <ppalka (a] redhat.com> 380 381 PR c++/88115 382 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to 383 cxx_sizeof_or_alignof_expr. 384 385 2020-11-10 Marek Polacek <polacek (a] redhat.com> 386 387 PR c++/97518 388 * libcp1plugin.cc (plugin_add_static_assert): Pass false to 389 finish_static_assert. 390 391 2020-11-06 Nathan Sidwell <nathan (a] acm.org> 392 393 * libcc1plugin.cc (address_rewriter): Rename 394 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN. 395 * libcp1plugin.cc (supplement_binding): Likewise. 396 397 2020-10-14 Nathan Sidwell <nathan (a] acm.org> 398 399 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P. 400 401 2020-10-07 Nathan Sidwell <nathan (a] acm.org> 402 403 * libcp1plugin.cc (supplement_binding): Rename 404 DECL_BUILTIN_P. 405 406 2020-10-02 Nathan Sidwell <nathan (a] acm.org> 407 408 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test. 409 410 2020-09-25 Nathan Sidwell <nathan (a] acm.org> 411 412 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P. 413 414 2020-09-24 Nathan Sidwell <nathan (a] acm.org> 415 416 * libcp1plugin.cc (supplement_binding): Drop default args to 417 duplicate_decls. 418 (safe_pushtag): Drop scope parm. Drop default args to pushtag. 419 (safe_pushdecl_maybe_friend): Rename to ... 420 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args 421 to pushdecl. 422 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls. 423 (plugin_build_constant): Adjust safe_pushdecl call. 424 425 2020-09-10 Nathan Sidwell <nathan (a] acm.org> 426 427 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P. 428 429 2020-08-14 Nathan Sidwell <nathan (a] acm.org> 430 431 * libcp1plugin.cc (plugin_build_dependent_expr): Rename 432 lookup_name_real call. 433 434 2020-08-14 Nathan Sidwell <nathan (a] acm.org> 435 436 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust 437 lookup_name_real call. 438 439 2020-08-14 Nathan Sidwell <nathan (a] acm.org> 440 441 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust 442 lookup_name_real & lookup_qualified_name calls. 443 444 2020-08-13 Nathan Sidwell <nathan (a] acm.org> 445 446 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise. 447 448 2020-07-30 H.J. Lu <hjl.tools (a] gmail.com> 449 450 PR bootstrap/96202 451 * configure: Regenerated. 452 453 2020-06-30 Nathan Sidwell <nathan (a] acm.org> 454 455 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl 456 call. 457 458 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com> 459 460 PR bootstrap/95413 461 * configure: Regenerated. 462 463 2020-05-14 H.J. Lu <hongjiu.lu (a] intel.com> 464 465 * configure: Regenerated. 466 467 2020-05-12 H.J. Lu <hongjiu.lu (a] intel.com> 468 469 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS). 470 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and 471 AC_SUBST(CET_HOST_FLAGS). 472 * Makefile.in: Regenerated. 473 * aclocal.m4: Likewise. 474 * configure: Likewise. 475 476 2020-02-12 Patrick Palka <ppalka (a] redhat.com> 477 478 PR c++/69448 479 PR c++/80471 480 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set 481 AUTO_IS_DECLTYPE anymore. 482 483 2020-01-07 Paolo Carlini <paolo.carlini (a] oracle.com> 484 485 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call. 486 487 2020-01-01 Jakub Jelinek <jakub (a] redhat.com> 488 489 Update copyright years. 490 491 2019-12-30 Paolo Carlini <paolo.carlini (a] oracle.com> 492 493 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity 494 call. 495 496 2019-12-18 Paolo Carlini <paolo.carlini (a] oracle.com> 497 498 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw 499 and cxx_sizeof_or_alignof_expr calls. 500 (plugin_build_unary_type_expr): Likewise for 501 cxx_sizeof_or_alignof_type. 502 503 2019-12-09 Paolo Carlini <paolo.carlini (a] oracle.com> 504 505 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast 506 declaration. 507 508 2019-12-05 Paolo Carlini <paolo.carlini (a] oracle.com> 509 510 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust 511 build_functional_cast call. 512 513 2019-11-25 Paolo Carlini <paolo.carlini (a] oracle.com> 514 515 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update 516 cp_build_indirect_ref call. 517 518 2019-09-27 Maciej W. Rozycki <macro (a] wdc.com> 519 520 * configure: Regenerate. 521 522 2019-05-21 Nathan Sidwell <nathan (a] acm.org> 523 524 * libcp1plugin.cc (plugin_add_using_decl): Use 525 finish_nonmember_using_decl. 526 527 2019-05-20 Nathan Sidwell <nathan (a] acm.org> 528 529 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed 530 finish_using_directive. 531 532 2019-01-01 Jakub Jelinek <jakub (a] redhat.com> 533 534 Update copyright years. 535 536 2018-11-13 David Malcolm <dmalcolm (a] redhat.com> 537 538 * libcc1plugin.cc: Replace "source_location" with "location_t". 539 (plugin_context::get_source_location): Rename to... 540 (plugin_context::get_location_t): ...this. 541 * libcp1plugin.cc: Likewise. 542 543 2018-10-31 Joseph Myers <joseph (a] codesourcery.com> 544 545 PR bootstrap/82856 546 * configure.ac: Remove AC_PREREQ. 547 * Makefile.in, aclocal.m4, configure: Regenerate. 548 549 2018-04-18 David Malcolm <dmalcolm (a] redhat.com> 550 551 PR jit/85384 552 * configure: Regenerate. 553 554 2018-01-03 Jakub Jelinek <jakub (a] redhat.com> 555 556 Update copyright years. 557 558 2017-11-14 Boris Kolpackov <boris (a] codesynthesis.com> 559 560 * configure: Regenerate. 561 562 2017-11-16 Sergio Durigan Junior <sergiodj (a] redhat.com> 563 Pedro Alves <palves (a] redhat.com> 564 565 * Makefile.am: Remove references to c-compiler-name.h and 566 cp-compiler-name.h 567 * Makefile.in: Regenerate. 568 * compiler-name.hh: New file. 569 * libcc1.cc: Don't include c-compiler-name.h. Include 570 compiler-name.hh. 571 * libcp1.cc: Don't include cp-compiler-name.h. Include 572 compiler-name.hh. 573 574 2017-11-01 Nathan Sidwell <nathan (a] acm.org> 575 576 * libcp1plugin.cc (plugin_build_decl): Use 577 DECL_OVERLOADED_OPERATOR_CODE_RAW. 578 579 2017-10-31 Nathan Sidwell <nathan (a] acm.org> 580 581 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier. 582 Directly set operator code. 583 (plugin_build_dependent_expr): Use ovl_op_identifier. 584 585 2017-10-04 Nathan Sidwell <nathan (a] acm.org> 586 587 * libcp1plugin.cc (supplement_binding): Don't use 588 maybe_remove_implicit_alias. 589 590 2017-07-20 Nathan Sidwell <nathan (a] acm.org> 591 592 Remove TYPE_METHODS. 593 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS. 594 595 2017-07-12 Nathan Sidwell <nathan (a] acm.org> 596 597 * libcp1plugin.cc (plugin_build_decl): Use 598 DECL_CXX_{CON,DE}STRUCTOR directly. 599 600 2017-07-05 Richard Sandiford <richard.sandiford (a] linaro.org> 601 602 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE. 603 604 2017-06-30 Nathan Sidwell <nathan (a] acm.org> 605 606 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name. 607 (plugin_build_dependent_expr): Likewise. 608 609 2017-06-26 Nathan Sidwell <nathan (a] acm.org> 610 611 * libcp1plugin.cc (plugin_build_decl): Don't set 612 DECL_ASSIGNMENT_OPERATOR_P. 613 614 2017-06-16 Nathan Sidwell <nathan (a] acm.org> 615 616 * libcp1plugin.cc (plugin_build_decl): Adjust parm building. 617 618 2017-05-26 Nathan Sidwell <nathan (a] acm.org> 619 620 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees. 621 622 * libcp1plugin.cc (plugin_add_using_namespace): Call 623 finish_namespace_using_directive. 624 625 2017-05-25 Nathan Sidwell <nathan (a] acm.org> 626 627 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set 628 DECL_NAMESPACE_INLINE_P. 629 630 2017-05-23 Nathan Sidwell <nathan (a] acm.org> 631 632 * libcp1plugin.cc (plugin_add_using_decl): Call 633 finish_namespace_using_decl. Use assert not unreachable. 634 635 2017-05-11 Nathan Sidwell <nathan (a] acm.org> 636 637 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl. 638 639 2017-05-10 Nathan Sidwell <nathan (a] acm.org> 640 641 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. 642 643 2017-04-15 Alexandre Oliva <aoliva (a] redhat.com> 644 645 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. 646 647 2017-01-30 Alexandre Oliva <aoliva (a] redhat.com> 648 649 Introduce C++ support. 650 * Makefile.am (AM_CPPFLAGS): Move some -I flags to... 651 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ... 652 new macros. 653 (plugin_LTLIBRARIES): Add libcp1plugin.la. 654 (BUILT_SOURCES, MOSTLYCLEANFILES): Add... 655 (cp-compiler-name.h): ... this. New. 656 (c-compiler-name.h): Rename all over from... 657 (compiler-name.h): ... this. Create it atomically. 658 (marshall_c_source, marshall_cxx_source): New macros. 659 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc. 660 Add marshall_c_source expansion. 661 (libcc1plugin.lo_CPPFLAGS): New macro. 662 (libcp1plugin_la_LDFLAGS): Likewise. 663 (libcp1plugin_la_SOURCES): Likewise. 664 (libcp1plugin.lo_CPPFLAGS): Likewise. 665 (libcp1plugin_la_LIBADD): Likewise. 666 (libcp1plugin_la_DEPENDENCIES): Likewise. 667 (libcp1plugin_la_LINK): Likewise. 668 (libcc1_la_SOURCES): Added marshall_c_source and 669 marshall_cxx_source expansions. 670 * Makefile.in: Rebuild. 671 * compiler-name.h: Rename all over to... 672 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead 673 of COMPILER_NAME. 674 * plugin.cc: Rename all over to... 675 * libcc1plugin.cc: ... this. Include marshall-c.hh. 676 (address_rewriter): Drop cleaning up of VLA sizes. 677 (plugin_build_decl): Mark decls as external. 678 (plugin_tagbind): Propagate name to all variants. 679 (build_anonymous_node): New. 680 (plugin_build_record_type): Use it instead of make_node. 681 (plugin_build_union_type): Likewise. 682 (plugin_build_enum_type): Likewise. 683 (plugin_finish_record_or_union): Update all type variants. 684 (safe_lookup_builtin_type): New. 685 (plugin_int_check): Factor out of, and add checks to, ... 686 (plugin_int_type): ... this. Rename to... 687 (plugin_int_type_v0): ... this. 688 (plugin_int_type): New interface, new implementation. 689 (plugin_char_type): New. 690 (plugin_float_type_v0): Rename from... 691 (plugin_float_type): ... this. New interface, new implementation. 692 (plugin_init): Bump handshake version. 693 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h. 694 (call_binding_oracle): Rename to... 695 (c_call_binding_oracle): ... this, into anonymous namespace. 696 (call_symbol_address): Rename to... 697 (c_call_symbol_address): ... this, likewise. 698 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace. 699 (libcc1::compiler::find): Refer to C_COMPILER_NAME. 700 (fork_exec): Bump to GCC_C_FE_VERSION_1. 701 (libcc1_compile): Prefix callbacks with c_. 702 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1. 703 * libcc1.sym: Export gcc_cp_fe_context. 704 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc. 705 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc. 706 * libcp1plugin.sym: New. 707 * marshall-c.hh: New. Move C-specific types from... 708 * marshall.cc: ... this. 709 (cc1_plugin::marshall_array_start): New. 710 (cc1_plugin::marshall_array_elmts): New. 711 (cc1_plugin::marshall for gcc_type_array): Use the above. 712 (cc1_plugin::unmarshall_array_start): New. 713 (cc1_plugin::unmarshall_array_elmts): New. 714 (cc1_plugin::unmarshall for gcc_type_array): Use the above. 715 * marshall.hh: Declare the new array building blocks. 716 Drop C-specific unmarshall declarations. 717 * marshall-cp.hh: New. 718 * names.cc (GCC_METHOD#): Add LANG:: to method names. 719 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def. 720 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the 721 corresponding namespaces. 722 * rpc.hh: Don't include marshall.hh. 723 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for 724 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args. 725 726 2017-01-30 Jan Kratochvil <jan.kratochvil (a] redhat.com> 727 728 * findcomp.cc: Include system.h. 729 (search_dir): Return absolute filename. 730 731 * libcc1.cc (libcc1): Add class compiler with field compilerp, 732 class compiler_triplet_regexp and class 733 compiler_driver_filename. 734 (libcc1::libcc1): Initialize compilerp. 735 (libcc1::~libcc1): Delete compilerp. 736 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find) 737 (libcc1::compiler_driver_filename::find): New methods. 738 (libcc1_set_arguments): Remove parameter triplet_regexp. 739 (libcc1_set_triplet_regexp, libcc1_set_driver_filename) 740 (libcc1_set_arguments_v0): New functions. 741 (vtable): Use libcc1_set_arguments_v0, add 742 libcc1_set_arguments, libcc1_set_triplet_regexp and 743 libcc1_set_driver_filename. 744 745 * libcc1.cc: Include intl.h. 746 (struct libcc1): Add field verbose. 747 (libcc1::libcc1): Initialize it. 748 (libcc1_set_verbose): New function. 749 (libcc1_set_arguments): Print messages for VERBOSE. 750 (libcc1_compile): Remove parameter verbose. Use VERBOSE from 751 SELF. 752 (libcc1_compile_v0): New function. 753 (vtable): Use libcc1_compile_v0 and add libcc1_compile and 754 libcc1_set_verbose. 755 756 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1. 757 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1. 758 759 2017-01-17 Jakub Jelinek <jakub (a] redhat.com> 760 761 PR other/79046 762 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only 763 use just major number from BASE-VER. 764 * configure: Regenerated. 765 * Makefile.in: Regenerated. 766 767 2017-01-04 Jakub Jelinek <jakub (a] redhat.com> 768 769 Update copyright years. 770 771 2016-11-18 Richard Sandiford <richard.sandiford (a] arm.com> 772 Alan Hayward <alan.hayward (a] arm.com> 773 David Sherwood <david.sherwood (a] arm.com> 774 775 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE. 776 777 2016-06-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 778 779 Update copyrights. 780 781 2016-04-18 Michael Matz <matz (a] suse.de> 782 783 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN. 784 785 2016-04-11 Segher Boessenkool <segher (a] kernel.crashing.org> 786 787 PR bootstrap/70173 788 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h . 789 (compiler-name.h): Shorten recipe so that it fits the line. 790 * Makefile.in: Regenerate. 791 792 2016-03-14 Andreas Schwab <schwab (a] suse.de> 793 794 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute. 795 * configure: Regenerate. 796 * Makefile.in: Regenerate. 797 798 2015-06-25 Richard Sandiford <richard.sandiford (a] arm.com> 799 800 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash 801 rather than typed_free_remove. Remove redudant typedefs. 802 803 2015-06-25 Richard Sandiford <richard.sandiford (a] arm.com> 804 805 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather 806 than typed_noop_remove. Remove redudant typedefs. 807 (plugin_context): Use nofree_ptr_hash rather than pointer_hash. 808 (plugin_context::mark): Likewise. 809 810 2015-05-13 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com> 811 812 * Makefile.in: Regenerated with automake-1.11.6. 813 * aclocal.m4: Likewise. 814 * configure: Likewise. 815 816 2015-04-18 Trevor Saunders <tsaunders (a] mozilla.com> 817 818 * plugin.cc: Adjust for hash_table changes. 819 820 2015-04-15 Andreas Schwab <schwab (a] suse.de> 821 822 PR bootstrap/65763 823 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part. 824 * Makefile.in: Regenerated. 825 826 2015-01-30 Joseph Myers <joseph (a] codesourcery.com> 827 828 * plugin.cc: All callers of fatal_error changed to pass 829 input_location as first argument. 830 831 2015-01-09 Michael Collison <michael.collison (a] linaro.org> 832 833 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h, 834 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h 835 due to flattening of tree.h. 836 837 2014-11-21 H.J. Lu <hongjiu.lu (a] intel.com> 838 839 PR bootstrap/63784 840 * configure: Regenerated. 841 842 2014-11-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE> 843 844 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl. 845 * configure: Regenerate. 846 * connection.cc: Include <string.h>. 847 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL. 848 849 2014-11-11 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org> 850 851 PR target/63610 852 * configure: Regenerate. 853 854 2014-11-11 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org> 855 856 PR bootstrap/63699 857 PR bootstrap/63750 858 * plugin.cc: Don't include <string>. 859 860 2014-10-29 Jakub Jelinek <jakub (a] redhat.com> 861 Phil Muldoon <pmuldoon (a] redhat.com> 862 863 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add 864 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC. 865 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC). 866 (WERROR_FLAG): Remove. 867 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG). 868 * configure: Regenerated. 869 * Makefile.in: Regenerated. 870 871 2014-10-29 Jakub Jelinek <jakub (a] redhat.com> 872 873 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address. 874 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep): 875 New variables. 876 (libiberty): Set to -Wc, followed by the first existing noasan/, 877 pic/ or . libiberty.a. 878 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK, 879 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables. 880 * Makefile.in: Regenerated. 881 882 2014-10-27 Phil Muldoon <pmuldoon (a] redhat.com> 883 Jan Kratochvil <jan.kratochvil (a] redhat.com> 884 Tom Tromey <tromey (a] redhat.com> 885 886 * aclocal.m4: New file. 887 * callbacks.cc: New file. 888 * callbacks.hh: New file. 889 * cc1plugin-config.h.in: New file. 890 * configure: New file. 891 * configure.ac: New file. 892 * connection.cc: New file. 893 * connection.hh: New file. 894 * findcomp.cc: New file. 895 * findcomp.hh: New file. 896 * libcc1.cc: New file. 897 * libcc1plugin.sym: New file. 898 * libcc1.sym: New file. 899 * Makefile.am: New file. 900 * Makefile.in: New file. 901 * marshall.cc: New file. 902 * marshall.hh: New file. 903 * names.cc: New file. 904 * names.hh: New file. 905 * plugin.cc: New file. 906 * rpc.hh: New file. 907 * status.hh: New file. 908