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