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