blob: 6cdab1188b2b258f5046e613e34a5e193c3277e3 [file] [log] [blame]
GCC Administratorae9e48e2023-12-07 00:17:06 +000012023-12-06 David Malcolm <dmalcolm@redhat.com>
2
3 * context.cc (plugin_print_error_function): Make diagnostic_info
4 param const.
5
GCC Administrator5cb13172023-11-17 00:17:33 +000062023-11-16 Tom Tromey <tom@tromey.com>
7
8 * libcc1plugin.cc (plugin_build_enum_type): Set
9 ENUM_UNDERLYING_TYPE.
10
GCC Administrator3b632742023-10-23 00:16:43 +0000112023-10-22 Iain Sandoe <iain@sandoe.co.uk>
12
13 * configure: Regenerate.
14
GCC Administrator886afed2023-08-12 00:17:36 +0000152023-08-11 Joseph Myers <joseph@codesourcery.com>
16
17 * configure: Regenerate.
18
GCC Administrator4b92dba2023-08-08 00:17:37 +0000192023-08-07 Nick Alcock <nick.alcock@oracle.com>
20
21 * configure: Regenerate.
22
232023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
24
25 * configure: Regenerate.
26
272023-08-07 Nick Alcock <nick.alcock@oracle.com>
28
29 * configure: Regenerate.
30
312023-08-07 Nick Alcock <nick.alcock@oracle.com>
32
33 * configure: Regenerate.
34
352023-08-07 H.J. Lu <hjl.tools@gmail.com>
36
37 * configure: Regenerate.
38
392023-08-07 H.J. Lu <hjl.tools@gmail.com>
40
41 * configure: Regenerate.
42
GCC Administratorb2776072023-05-19 00:17:43 +0000432023-05-18 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
44
45 * libcc1plugin.cc (plugin_float_type): Ditto.
46 * libcp1plugin.cc (plugin_reactivate_decl): Ditto.
47 (plugin_get_float_type): Ditto.
48
GCC Administrator74e904b2022-11-02 00:17:38 +0000492022-11-01 Nathan Sidwell <nathan@acm.org>
50
51 * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
52 Initialize the per-scope, per-signature discriminator.
53
542022-11-01 Nathan Sidwell <nathan@acm.org>
55
56 * libcp1plugin.cc (plugin_start_closure): Adjust.
57
GCC Administrator781f4772022-10-13 00:17:37 +0000582022-10-12 Martin Liska <mliska@suse.cz>
59
60 * configure: Regenerate.
61
GCC Administratorab332cd2022-10-12 00:17:24 +0000622022-10-11 Olivier Hainque <hainque@adacore.com>
63 Olivier Hainque <hainque@adacore.com>
64
65 * configure: Regenerate.
66
GCC Administrator9d3dd212022-06-28 00:16:58 +0000672022-06-27 Sergei Trofimovich <siarheit@google.com>
68
69 PR c++/106102
70 * libcc1plugin.cc: Include <memory> via "system.h".
71 * libcp1plugin.cc: Ditto.
72
GCC Administrator3164de62022-06-02 00:16:32 +0000732022-06-01 David Seifert <soap@gentoo.org>
74
75 PR plugins/95648
76 * configure: Regenerate.
77
GCC Administrator774269a2021-12-17 00:16:20 +0000782021-12-16 Patrick Palka <ppalka@redhat.com>
79
80 PR c++/51577
81 PR c++/83035
82 PR c++/100465
83 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
84 build_x_unary_op.
85 (plugin_build_binary_expr): Adjust call to build_x_binary_op.
86
GCC Administrator8a89c392021-12-16 00:16:28 +0000872021-12-15 Iain Sandoe <iain@sandoe.co.uk>
88
89 * configure: Regenerate.
90
GCC Administrator2d14d642021-08-18 00:16:48 +0000912021-08-17 Iain Sandoe <iain@sandoe.co.uk>
92
93 * Makefile.am: Switch mdynamic-no-pic to fPIC.
94 * Makefile.in: Regenerated.
95
GCC Administratorc8abc202021-06-29 00:16:42 +0000962021-06-28 Martin Sebor <msebor@redhat.com>
97
98 * libcp1plugin.cc (record_decl_address): Replace a direct use
99 of TREE_NO_WARNING with suppress_warning.
100
GCC Administrator44948012021-05-06 00:16:37 +00001012021-05-05 Tom Tromey <tom@tromey.com>
102
103 * compiler.cc (make_regexp): Take const std::string.
104 (cc1_plugin::compiler_triplet_regexp::find): Update.
105
1062021-05-05 Tom Tromey <tom@tromey.com>
107
108 PR c/94669
109 * compiler.hh (compiler_driver_filename): Take const char *.
110 (compiler_triplet_regexp): Likewise.
111
1122021-05-05 Tom Tromey <tom@tromey.com>
113
114 * rpc.hh (argument_wrapper) <get>: Replace cast operator.
115 (argument_wrapper<T *>) <get>: Likewise.
116 (unmarshall): Add std::tuple overloads.
117 (callback): Remove.
118 (class invoker): New.
119 * libcp1plugin.cc (plugin_init): Update.
120 * libcp1.cc (libcp1::add_callbacks): Update.
121 * libcc1plugin.cc (plugin_init): Update.
122 * libcc1.cc (libcc1::add_callbacks): Update.
123 * connection.cc (cc1_plugin::connection::do_wait): Update.
124
1252021-05-05 Tom Tromey <tom@tromey.com>
126
127 * gdbctx.hh (do_compile): Use std::vector.
128
1292021-05-05 Tom Tromey <tom@tromey.com>
130
131 * libcp1.cc (libcp1): Change parameters. Update.
132 (libcp1_set_verbose, libcp1_set_arguments)
133 (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
134 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
135 (libcp1_compile, libcp1_destroy, vtable): Remove.
136 (libcp1::add_callbacks): New method, extracted from
137 libcp1_compile.
138 (gcc_c_fe_context): Update.
139 * libcc1.cc (libcc1): Change parameters. Update.
140 (libcc1_set_verbose, libcc1_set_arguments)
141 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
142 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
143 (libcc1_compile, libcc1_destroy, vtable): Remove.
144 (libcc1::add_callbacks): New method, extracted from
145 libcc1_compile.
146 (gcc_c_fe_context): Update.
147 * gdbctx.hh (base_gdb_plugin): Change parameters.
148 (~base_gdb_plugin): New.
149 <add_callbacks>: New virtual method.
150 <plugin_name, fe_version, compiler_name, vtable>: New members.
151 (get_self, do_set_verbose, do_set_arguments)
152 (do_set_triplet_regexp, do_set_driver_filename)
153 (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
154 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
155
1562021-05-05 Tom Tromey <tom@tromey.com>
157
158 * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
159
1602021-05-05 Tom Tromey <tom@tromey.com>
161
162 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove
163 shared code.
164 (class libcp1_connection): Remove.
165 (rpc): Remove.
166 (libcp1_set_verbose, libcp1_compile): Update.
167 (cp_call_binding_oracle, cp_call_symbol_address)
168 (cp_call_enter_scope, cp_call_leave_scope): Update.
169 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove
170 shared code.
171 (class libcc1_connection): Remove.
172 (c_call_binding_oracle, c_call_symbol_address): Update.
173 (rpc): Remove.
174 (libcc1_set_verbose, libcc1_compile): Update.
175 * gdbctx.hh: New file.
176
1772021-05-05 Tom Tromey <tom@tromey.com>
178
179 * libcc1plugin.cc: Move code to context.cc.
180 * libcp1plugin.cc: Move code to context.cc.
181 * context.hh: New file.
182 * context.cc: New file.
183 * Makefile.in: Rebuild.
184 * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
185 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
186 (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
187 (libcp1plugin_la_SOURCES): Likewise.
188
1892021-05-05 Tom Tromey <tom@tromey.com>
190
191 * libcp1plugin.cc: Use static assert.
192
1932021-05-05 Tom Tromey <tom@tromey.com>
194
195 * libcp1plugin.cc (plugin_context::mark): Use foreach.
196 * libcc1plugin.cc (plugin_context::mark): Use foreach.
197
1982021-05-05 Tom Tromey <tom@tromey.com>
199
200 * libcp1.cc (compiler, compiler_triplet_regexp)
201 (compiler_driver_filename): Remove.
202 (libcp1::libcp1): Update.
203 (make_regexp, libcp1::compiler::find)
204 (libcp1::compiler_triplet_regexp::find)
205 (libcp1::compiler_driver_filename::find): Remove.
206 (libcp1_set_verbose, libcp1_set_arguments)
207 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
208 * libcc1.cc (compiler, compiler_triplet_regexp)
209 (compiler_driver_filename): Remove.
210 (libcc1::libcc1): Update.
211 (make_regexp, libcc1::compiler::find)
212 (libcc1::compiler_triplet_regexp::find)
213 (libcc1::compiler_driver_filename::find): Remove.
214 (libcc1_set_verbose, libcc1_set_arguments)
215 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
216 * compiler.cc: New file.
217 * compiler.hh: New file.
218 * Makefile.in: Rebuild.
219 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
220
2212021-05-05 Tom Tromey <tom@tromey.com>
222
223 * libcp1.cc (struct libcp1) <connection, compilerp>: Use
224 unique_ptr.
225 (~libcp1): Remove.
226 (libcp1_compile, libcp1_set_triplet_regexp)
227 (libcp1_set_driver_filename): Update.
228 * libcc1.cc (struct libcc1) <connection, compilerp>: Use
229 unique_ptr.
230 (~libcc1): Remove.
231 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
232 (libcc1_compile): Update.
233
2342021-05-05 Tom Tromey <tom@tromey.com>
235
236 * rpc.hh (deleter): Move template and some specializations to
237 deleter.hh.
238 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
239 * marshall.cc (cc1_plugin::unmarshall): Use
240 cc1_plugin::unique_ptr.
241 * marshall-cp.hh (deleter): New specializations.
242 (unmarshall): Use cc1_plugin::unique_ptr.
243 * deleter.hh: New file.
244
2452021-05-05 Tom Tromey <tom@tromey.com>
246
247 * rpc.hh (struct deleter): New template class and
248 specializations.
249 (argument_wrapper): Remove specializations. Add specialization
250 for any pointer type.
251
2522021-05-05 Tom Tromey <tom@tromey.com>
253
254 * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
255 * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
256
2572021-05-05 Tom Tromey <tom@tromey.com>
258
259 * libcp1.cc (rpc): Use variadic template. Remove overloads.
260 * libcc1.cc (rpc): Use variadic template. Remove overloads.
261
2622021-05-05 Tom Tromey <tom@tromey.com>
263
264 * rpc.hh (call): Use variadic template. Remove overloads.
265 * marshall.hh (marshall): Add base overload. Use variadic
266 template.
267
2682021-05-05 Tom Tromey <tom@tromey.com>
269
270 * rpc.hh (argument_wrapper): Use delete for copy constructor.
271 * connection.hh (class connection): Use delete for copy
272 constructor.
273 * callbacks.hh (class callbacks): Use delete for copy constructor.
274
2752021-05-05 Tom Tromey <tom@tromey.com>
276
277 * connection.hh (~connection): Use default.
278 (print): Inline.
279 * connection.cc (cc1_plugin::connection::~connection)
280 (cc1_plugin::connection::print): Remove definitions.
281
2822021-05-05 Tom Tromey <tom@tromey.com>
283
284 * libcp1.cc (class compiler_triplet_regexp)
285 (class compiler_driver_filename, class libcp1_connection): Use
286 "override".
287 * libcc1.cc (class compiler_triplet_regexp)
288 (class compiler_driver_filename, class libcc1_connection): Use
289 "override".
290
2912021-05-05 Tom Tromey <tom@tromey.com>
292
293 * marshall.hh (cc1_plugin::unmarshall): Use type traits.
294 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
295 * marshall-c.hh: Remove.
296 * libcc1plugin.cc: Update includes.
297 * libcc1.cc: Update includes.
298
GCC Administratore6903962021-05-04 00:16:53 +00002992021-05-03 H.J. Lu <hjl.tools@gmail.com>
300
301 PR bootstrap/99703
302 * configure: Regenerated.
303
GCC Administrator651b8a52021-01-06 00:16:55 +00003042021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
305
306 * configure: Re-generate.
307
GCC Administratorb1a22422020-12-19 00:16:31 +00003082020-12-18 Jakub Jelinek <jakub@redhat.com>
309
310 PR bootstrap/98380
311 * configure.ac: Set darwin_dynamic_lookup=no instead to empty
312 string.
313 * configure: Regenerated.
314
GCC Administrator6e1edf42020-12-06 00:16:44 +00003152020-12-05 Iain Sandoe <iain@sandoe.co.uk>
316
317 PR target/97865
318 * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
319 * configure.ac: Test for Darwin host and set a flag.
320 * Makefile.in: Regenerate.
321 * configure: Regenerate.
322
GCC Administratora9625c52020-11-30 00:16:27 +00003232020-11-29 John David Anglin <danglin@gcc.gnu.org>
324
325 * configure: Regenerate.
326
GCC Administrator0f5f9ed2020-11-12 00:16:39 +00003272020-11-11 Patrick Palka <ppalka@redhat.com>
328
329 PR c++/88115
330 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
331 cxx_sizeof_or_alignof_expr.
332
GCC Administratorbb6226412020-11-11 00:16:36 +00003332020-11-10 Marek Polacek <polacek@redhat.com>
334
335 PR c++/97518
336 * libcp1plugin.cc (plugin_add_static_assert): Pass false to
337 finish_static_assert.
338
GCC Administrator44cab2d2020-11-07 00:16:39 +00003392020-11-06 Nathan Sidwell <nathan@acm.org>
340
341 * libcc1plugin.cc (address_rewriter): Rename
342 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
343 * libcp1plugin.cc (supplement_binding): Likewise.
344
GCC Administratorb2698c22020-10-15 00:16:34 +00003452020-10-14 Nathan Sidwell <nathan@acm.org>
346
347 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
348
GCC Administrator6caec772020-10-08 00:16:30 +00003492020-10-07 Nathan Sidwell <nathan@acm.org>
350
351 * libcp1plugin.cc (supplement_binding): Rename
352 DECL_BUILTIN_P.
353
GCC Administratorb0b9b8f2020-10-03 00:16:25 +00003542020-10-02 Nathan Sidwell <nathan@acm.org>
355
356 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
357
GCC Administratorcdd8f032020-09-26 00:16:25 +00003582020-09-25 Nathan Sidwell <nathan@acm.org>
359
360 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
361
GCC Administratora2b73972020-09-25 00:16:27 +00003622020-09-24 Nathan Sidwell <nathan@acm.org>
363
364 * libcp1plugin.cc (supplement_binding): Drop default args to
365 duplicate_decls.
366 (safe_pushtag): Drop scope parm. Drop default args to pushtag.
367 (safe_pushdecl_maybe_friend): Rename to ...
368 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args
369 to pushdecl.
370 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
371 (plugin_build_constant): Adjust safe_pushdecl call.
372
GCC Administratorfdcc0282020-09-11 00:16:28 +00003732020-09-10 Nathan Sidwell <nathan@acm.org>
374
375 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
376
GCC Administrator661ee092020-08-15 00:16:22 +00003772020-08-14 Nathan Sidwell <nathan@acm.org>
378
379 * libcp1plugin.cc (plugin_build_dependent_expr): Rename
380 lookup_name_real call.
381
3822020-08-14 Nathan Sidwell <nathan@acm.org>
383
384 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
385 lookup_name_real call.
386
3872020-08-14 Nathan Sidwell <nathan@acm.org>
388
389 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
390 lookup_name_real & lookup_qualified_name calls.
391
GCC Administratorb3cb5602020-08-14 00:16:24 +00003922020-08-13 Nathan Sidwell <nathan@acm.org>
393
394 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
395
GCC Administratord48cca82020-07-31 00:16:26 +00003962020-07-30 H.J. Lu <hjl.tools@gmail.com>
397
398 PR bootstrap/96202
399 * configure: Regenerated.
400
GCC Administrator46fbb6c62020-07-01 00:16:26 +00004012020-06-30 Nathan Sidwell <nathan@acm.org>
402
403 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
404 call.
405
GCC Administrator885ef722020-05-30 00:16:27 +00004062020-05-29 H.J. Lu <hjl.tools@gmail.com>
407
408 PR bootstrap/95413
409 * configure: Regenerated.
410
H.J. Lu8d286dd2020-05-14 08:25:39 -07004112020-05-14 H.J. Lu <hongjiu.lu@intel.com>
412
413 * configure: Regenerated.
414
H.J. Luaf3bef02020-05-12 09:12:26 -07004152020-05-12 H.J. Lu <hongjiu.lu@intel.com>
416
417 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
418 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
419 AC_SUBST(CET_HOST_FLAGS).
420 * Makefile.in: Regenerated.
421 * aclocal.m4: Likewise.
422 * configure: Likewise.
423
Patrick Palkaa6ee5562020-02-09 22:23:25 -05004242020-02-12 Patrick Palka <ppalka@redhat.com>
425
426 PR c++/69448
427 PR c++/80471
428 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
429 AUTO_IS_DECLTYPE anymore.
430
Paolo Carlini87d3f822020-01-07 17:58:18 +00004312020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
432
433 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
434
Jakub Jelinek8d9254f2020-01-01 12:51:42 +01004352020-01-01 Jakub Jelinek <jakub@redhat.com>
436
437 Update copyright years.
438
Paolo Carlini04e49972019-12-30 13:23:40 +00004392019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
440
441 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
442 call.
443
Paolo Carlinid3769412019-12-18 19:23:01 +00004442019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
445
446 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
447 and cxx_sizeof_or_alignof_expr calls.
448 (plugin_build_unary_type_expr): Likewise for
449 cxx_sizeof_or_alignof_type.
450
Paolo Carlinica6932a2019-12-09 20:28:39 +00004512019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
452
453 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
454 declaration.
455
Paolo Carliniad774d02019-12-05 08:59:24 +00004562019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
457
458 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
459 build_functional_cast call.
460
Paolo Carlini3554d8f2019-11-25 13:49:50 +00004612019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
462
463 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
464 cp_build_indirect_ref call.
465
Maciej W. Rozyckie9085da2019-09-27 21:24:42 +00004662019-09-27 Maciej W. Rozycki <macro@wdc.com>
467
468 * configure: Regenerate.
469
Nathan Sidwell692af872019-05-21 14:33:24 +00004702019-05-21 Nathan Sidwell <nathan@acm.org>
471
472 * libcp1plugin.cc (plugin_add_using_decl): Use
473 finish_nonmember_using_decl.
474
Nathan Sidwell6db76e42019-05-20 13:49:53 +00004752019-05-20 Nathan Sidwell <nathan@acm.org>
476
477 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
478 finish_using_directive.
479
Jakub Jelineka5544972019-01-01 13:31:55 +01004802019-01-01 Jakub Jelinek <jakub@redhat.com>
481
482 Update copyright years.
483
David Malcolm620e5942018-11-13 20:05:03 +00004842018-11-13 David Malcolm <dmalcolm@redhat.com>
485
486 * libcc1plugin.cc: Replace "source_location" with "location_t".
487 (plugin_context::get_source_location): Rename to...
488 (plugin_context::get_location_t): ...this.
489 * libcp1plugin.cc: Likewise.
490
Joseph Myers22e05272018-10-31 17:03:16 +00004912018-10-31 Joseph Myers <joseph@codesourcery.com>
492
493 PR bootstrap/82856
494 * configure.ac: Remove AC_PREREQ.
495 * Makefile.in, aclocal.m4, configure: Regenerate.
496
David Malcolm001ddaa2018-04-18 09:46:58 +00004972018-04-18 David Malcolm <dmalcolm@redhat.com>
498
499 PR jit/85384
500 * configure: Regenerate.
501
Jakub Jelinek85ec4fe2018-01-03 11:03:58 +01005022018-01-03 Jakub Jelinek <jakub@redhat.com>
503
504 Update copyright years.
505
Boris Kolpackov8c7dbea2017-11-26 13:00:48 +00005062017-11-14 Boris Kolpackov <boris@codesynthesis.com>
507
508 * configure: Regenerate.
509
Sergio Durigan Junior9d997752017-11-16 18:15:33 +00005102017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
511 Pedro Alves <palves@redhat.com>
512
513 * Makefile.am: Remove references to c-compiler-name.h and
514 cp-compiler-name.h
515 * Makefile.in: Regenerate.
516 * compiler-name.hh: New file.
517 * libcc1.cc: Don't include c-compiler-name.h. Include
518 compiler-name.hh.
519 * libcp1.cc: Don't include cp-compiler-name.h. Include
520 compiler-name.hh.
521
Nathan Sidwellce121152017-11-01 15:46:42 +00005222017-11-01 Nathan Sidwell <nathan@acm.org>
523
524 * libcp1plugin.cc (plugin_build_decl): Use
525 DECL_OVERLOADED_OPERATOR_CODE_RAW.
526
Nathan Sidwell88a819b2017-10-31 14:39:44 +00005272017-10-31 Nathan Sidwell <nathan@acm.org>
528
529 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
530 Directly set operator code.
531 (plugin_build_dependent_expr): Use ovl_op_identifier.
532
Nathan Sidwellb4191022017-10-04 16:55:54 +00005332017-10-04 Nathan Sidwell <nathan@acm.org>
534
535 * libcp1plugin.cc (supplement_binding): Don't use
536 maybe_remove_implicit_alias.
537
Nathan Sidwell5aaa8fb2017-07-21 00:27:51 +00005382017-07-20 Nathan Sidwell <nathan@acm.org>
539
540 Remove TYPE_METHODS.
541 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
542
Nathan Sidwell75f8b372017-07-12 19:46:33 +00005432017-07-12 Nathan Sidwell <nathan@acm.org>
544
545 * libcp1plugin.cc (plugin_build_decl): Use
546 DECL_CXX_{CON,DE}STRUCTOR directly.
547
Richard Sandifordd8448c52017-07-05 15:32:37 +00005482017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
549
550 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
551
Nathan Sidwell08fb1312017-06-30 18:46:01 +00005522017-06-30 Nathan Sidwell <nathan@acm.org>
553
554 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
555 (plugin_build_dependent_expr): Likewise.
556
Nathan Sidwelld6ef53f2017-06-26 16:38:40 +00005572017-06-26 Nathan Sidwell <nathan@acm.org>
558
559 * libcp1plugin.cc (plugin_build_decl): Don't set
560 DECL_ASSIGNMENT_OPERATOR_P.
561
Nathan Sidwelle249fca2017-06-16 15:42:33 +00005622017-06-16 Nathan Sidwell <nathan@acm.org>
563
564 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
565
Nathan Sidwelle1cad932017-05-26 16:34:40 +00005662017-05-26 Nathan Sidwell <nathan@acm.org>
567
Nathan Sidwell3c9feef2017-05-26 17:19:46 +0000568 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
569
Nathan Sidwelle1cad932017-05-26 16:34:40 +0000570 * libcp1plugin.cc (plugin_add_using_namespace): Call
571 finish_namespace_using_directive.
572
Nathan Sidwell44e00a72017-05-25 18:52:47 +00005732017-05-25 Nathan Sidwell <nathan@acm.org>
574
575 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
576 DECL_NAMESPACE_INLINE_P.
577
Nathan Sidwell9d029dd2017-05-23 10:58:57 +00005782017-05-23 Nathan Sidwell <nathan@acm.org>
579
580 * libcp1plugin.cc (plugin_add_using_decl): Call
581 finish_namespace_using_decl. Use assert not unreachable.
582
Nathan Sidwellce9750d2017-05-11 19:15:59 +00005832017-05-11 Nathan Sidwell <nathan@acm.org>
584
585 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
586
Nathan Sidwelld5a2f452017-05-10 13:12:57 +00005872017-05-10 Nathan Sidwell <nathan@acm.org>
588
589 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
590
Alexandre Olivae072b0c2017-04-15 03:28:31 +00005912017-04-15 Alexandre Oliva <aoliva@redhat.com>
592
593 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
594
Alexandre Oliva8db29d82017-01-31 01:02:03 +00005952017-01-30 Alexandre Oliva <aoliva@redhat.com>
596
597 Introduce C++ support.
598 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
599 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
600 new macros.
601 (plugin_LTLIBRARIES): Add libcp1plugin.la.
602 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
603 (cp-compiler-name.h): ... this. New.
604 (c-compiler-name.h): Rename all over from...
605 (compiler-name.h): ... this. Create it atomically.
606 (marshall_c_source, marshall_cxx_source): New macros.
607 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
608 Add marshall_c_source expansion.
609 (libcc1plugin.lo_CPPFLAGS): New macro.
610 (libcp1plugin_la_LDFLAGS): Likewise.
611 (libcp1plugin_la_SOURCES): Likewise.
612 (libcp1plugin.lo_CPPFLAGS): Likewise.
613 (libcp1plugin_la_LIBADD): Likewise.
614 (libcp1plugin_la_DEPENDENCIES): Likewise.
615 (libcp1plugin_la_LINK): Likewise.
616 (libcc1_la_SOURCES): Added marshall_c_source and
617 marshall_cxx_source expansions.
618 * Makefile.in: Rebuild.
619 * compiler-name.h: Rename all over to...
620 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
621 of COMPILER_NAME.
622 * plugin.cc: Rename all over to...
623 * libcc1plugin.cc: ... this. Include marshall-c.hh.
624 (address_rewriter): Drop cleaning up of VLA sizes.
625 (plugin_build_decl): Mark decls as external.
626 (plugin_tagbind): Propagate name to all variants.
627 (build_anonymous_node): New.
628 (plugin_build_record_type): Use it instead of make_node.
629 (plugin_build_union_type): Likewise.
630 (plugin_build_enum_type): Likewise.
631 (plugin_finish_record_or_union): Update all type variants.
632 (safe_lookup_builtin_type): New.
633 (plugin_int_check): Factor out of, and add checks to, ...
634 (plugin_int_type): ... this. Rename to...
635 (plugin_int_type_v0): ... this.
636 (plugin_int_type): New interface, new implementation.
637 (plugin_char_type): New.
638 (plugin_float_type_v0): Rename from...
639 (plugin_float_type): ... this. New interface, new implementation.
640 (plugin_init): Bump handshake version.
641 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
642 (call_binding_oracle): Rename to...
643 (c_call_binding_oracle): ... this, into anonymous namespace.
644 (call_symbol_address): Rename to...
645 (c_call_symbol_address): ... this, likewise.
646 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
647 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
648 (fork_exec): Bump to GCC_C_FE_VERSION_1.
649 (libcc1_compile): Prefix callbacks with c_.
650 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
651 * libcc1.sym: Export gcc_cp_fe_context.
652 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
653 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
654 * libcp1plugin.sym: New.
655 * marshall-c.hh: New. Move C-specific types from...
656 * marshall.cc: ... this.
657 (cc1_plugin::marshall_array_start): New.
658 (cc1_plugin::marshall_array_elmts): New.
659 (cc1_plugin::marshall for gcc_type_array): Use the above.
660 (cc1_plugin::unmarshall_array_start): New.
661 (cc1_plugin::unmarshall_array_elmts): New.
662 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
663 * marshall.hh: Declare the new array building blocks.
664 Drop C-specific unmarshall declarations.
665 * marshall-cp.hh: New.
666 * names.cc (GCC_METHOD#): Add LANG:: to method names.
667 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
668 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
669 corresponding namespaces.
670 * rpc.hh: Don't include marshall.hh.
671 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
672 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
673
Jan Kratochvil023721a2017-01-31 00:58:47 +00006742017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
675
Jan Kratochvil9f92b932017-01-31 01:01:32 +0000676 * findcomp.cc: Include system.h.
677 (search_dir): Return absolute filename.
678
Jan Kratochvil5d1b2442017-01-31 01:01:09 +0000679 * libcc1.cc (libcc1): Add class compiler with field compilerp,
680 class compiler_triplet_regexp and class
681 compiler_driver_filename.
682 (libcc1::libcc1): Initialize compilerp.
683 (libcc1::~libcc1): Delete compilerp.
684 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
685 (libcc1::compiler_driver_filename::find): New methods.
686 (libcc1_set_arguments): Remove parameter triplet_regexp.
687 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
688 (libcc1_set_arguments_v0): New functions.
689 (vtable): Use libcc1_set_arguments_v0, add
690 libcc1_set_arguments, libcc1_set_triplet_regexp and
691 libcc1_set_driver_filename.
692
Jan Kratochvil3b5c1072017-01-31 01:00:51 +0000693 * libcc1.cc: Include intl.h.
694 (struct libcc1): Add field verbose.
695 (libcc1::libcc1): Initialize it.
696 (libcc1_set_verbose): New function.
697 (libcc1_set_arguments): Print messages for VERBOSE.
698 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
699 SELF.
700 (libcc1_compile_v0): New function.
701 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
702 libcc1_set_verbose.
703
Jan Kratochvil023721a2017-01-31 00:58:47 +0000704 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
705 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
706
Jakub Jelinek3c36aa62017-01-17 10:38:48 +01007072017-01-17 Jakub Jelinek <jakub@redhat.com>
708
709 PR other/79046
710 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
711 use just major number from BASE-VER.
712 * configure: Regenerated.
713 * Makefile.in: Regenerated.
714
Jakub Jelinek2afd3182017-01-04 12:30:51 +01007152017-01-04 Jakub Jelinek <jakub@redhat.com>
716
717 Update copyright years.
718
Richard Sandiford899ca902016-11-18 10:03:12 +00007192016-11-18 Richard Sandiford <richard.sandiford@arm.com>
720 Alan Hayward <alan.hayward@arm.com>
721 David Sherwood <david.sherwood@arm.com>
722
723 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
724
Rainer Orth48eae472016-06-07 08:54:22 +00007252016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
726
727 Update copyrights.
728
Michael Matzfe37c7a2016-04-18 20:36:27 +00007292016-04-18 Michael Matz <matz@suse.de>
730
731 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
732
Segher Boessenkoolfa246aa2016-04-11 09:26:36 +02007332016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
734
735 PR bootstrap/70173
736 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
737 (compiler-name.h): Shorten recipe so that it fits the line.
738 * Makefile.in: Regenerate.
739
Andreas Schwabca37d492016-03-14 08:54:06 +00007402016-03-14 Andreas Schwab <schwab@suse.de>
741
742 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
743 * configure: Regenerate.
744 * Makefile.in: Regenerate.
745
Richard Sandiford8d67ee52015-06-25 17:06:13 +00007462015-06-25 Richard Sandiford <richard.sandiford@arm.com>
747
Richard Sandiford95fbe132015-06-25 17:06:24 +0000748 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
749 rather than typed_free_remove. Remove redudant typedefs.
750
7512015-06-25 Richard Sandiford <richard.sandiford@arm.com>
752
Richard Sandiford8d67ee52015-06-25 17:06:13 +0000753 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
754 than typed_noop_remove. Remove redudant typedefs.
755 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
756 (plugin_context::mark): Likewise.
757
Michael Haubenwallner4709a6d2015-05-13 11:00:37 +00007582015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
759
760 * Makefile.in: Regenerated with automake-1.11.6.
761 * aclocal.m4: Likewise.
762 * configure: Likewise.
763
Trevor Saunders67f58942015-04-18 18:13:18 +00007642015-04-18 Trevor Saunders <tsaunders@mozilla.com>
765
766 * plugin.cc: Adjust for hash_table changes.
767
Andreas Schwabf8a7e152015-04-15 09:23:59 +00007682015-04-15 Andreas Schwab <schwab@suse.de>
769
770 PR bootstrap/65763
771 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
772 * Makefile.in: Regenerated.
773
Joseph Myers40fecdd2015-01-30 16:15:00 +00007742015-01-30 Joseph Myers <joseph@codesourcery.com>
775
776 * plugin.cc: All callers of fatal_error changed to pass
777 input_location as first argument.
778
Jakub Jelinekadfac8d2015-01-09 22:17:10 +01007792015-01-09 Michael Collison <michael.collison@linaro.org>
780
781 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
782 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
783 due to flattening of tree.h.
784
H.J. Lua699d672014-11-21 08:49:17 -08007852014-11-21 H.J. Lu <hongjiu.lu@intel.com>
786
787 PR bootstrap/63784
788 * configure: Regenerated.
789
Rainer Orth0ed4f872014-11-13 10:22:22 +00007902014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
791
792 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
793 * configure: Regenerate.
794 * connection.cc: Include <string.h>.
Michael Matzfe37c7a2016-04-18 20:36:27 +0000795 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
Rainer Orth0ed4f872014-11-13 10:22:22 +0000796
Francois-Xavier Coudert33c430b2014-11-11 09:20:07 +00007972014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
798
Francois-Xavier Coudertebf6d332014-11-11 20:25:18 +0000799 PR target/63610
800 * configure: Regenerate.
801
8022014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
803
Francois-Xavier Coudert33c430b2014-11-11 09:20:07 +0000804 PR bootstrap/63699
805 PR bootstrap/63750
806 * plugin.cc: Don't include <string>.
807
Jakub Jelinek56f274b2014-10-29 12:37:18 +01008082014-10-29 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinekca557f52014-10-29 12:38:00 +0100809 Phil Muldoon <pmuldoon@redhat.com>
810
811 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
812 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
813 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
814 (WERROR_FLAG): Remove.
815 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
816 * configure: Regenerated.
817 * Makefile.in: Regenerated.
818
8192014-10-29 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek56f274b2014-10-29 12:37:18 +0100820
821 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
822 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
823 New variables.
824 (libiberty): Set to -Wc, followed by the first existing noasan/,
825 pic/ or . libiberty.a.
826 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
827 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
828 * Makefile.in: Regenerated.
829
Phil Muldoonddc8de02014-10-27 17:21:42 +00008302014-10-27 Phil Muldoon <pmuldoon@redhat.com>
831 Jan Kratochvil <jan.kratochvil@redhat.com>
832 Tom Tromey <tromey@redhat.com>
833
834 * aclocal.m4: New file.
835 * callbacks.cc: New file.
836 * callbacks.hh: New file.
837 * cc1plugin-config.h.in: New file.
838 * configure: New file.
839 * configure.ac: New file.
840 * connection.cc: New file.
841 * connection.hh: New file.
842 * findcomp.cc: New file.
843 * findcomp.hh: New file.
844 * libcc1.cc: New file.
845 * libcc1plugin.sym: New file.
846 * libcc1.sym: New file.
847 * Makefile.am: New file.
848 * Makefile.in: New file.
849 * marshall.cc: New file.
850 * marshall.hh: New file.
851 * names.cc: New file.
852 * names.hh: New file.
853 * plugin.cc: New file.
854 * rpc.hh: New file.
855 * status.hh: New file.