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