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