Debian Codegraph @

libcc1/ChangeLog

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