]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcc1/ChangeLog
testsuite: update builtins-5-p9-runnable.c for BE
[thirdparty/gcc.git] / libcc1 / ChangeLog
CommitLineData
74e904bd
GA
12022-11-01 Nathan Sidwell <nathan@acm.org>
2
3 * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
4 Initialize the per-scope, per-signature discriminator.
5
62022-11-01 Nathan Sidwell <nathan@acm.org>
7
8 * libcp1plugin.cc (plugin_start_closure): Adjust.
9
781f477a
GA
102022-10-12 Martin Liska <mliska@suse.cz>
11
12 * configure: Regenerate.
13
ab332cd7
GA
142022-10-11 Olivier Hainque <hainque@adacore.com>
15 Olivier Hainque <hainque@adacore.com>
16
17 * configure: Regenerate.
18
9d3dd218
GA
192022-06-27 Sergei Trofimovich <siarheit@google.com>
20
21 PR c++/106102
22 * libcc1plugin.cc: Include <memory> via "system.h".
23 * libcp1plugin.cc: Ditto.
24
3164de6a
GA
252022-06-01 David Seifert <soap@gentoo.org>
26
27 PR plugins/95648
28 * configure: Regenerate.
29
774269aa
GA
302021-12-16 Patrick Palka <ppalka@redhat.com>
31
32 PR c++/51577
33 PR c++/83035
34 PR c++/100465
35 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
36 build_x_unary_op.
37 (plugin_build_binary_expr): Adjust call to build_x_binary_op.
38
8a89c39b
GA
392021-12-15 Iain Sandoe <iain@sandoe.co.uk>
40
41 * configure: Regenerate.
42
2d14d64b
GA
432021-08-17 Iain Sandoe <iain@sandoe.co.uk>
44
45 * Makefile.am: Switch mdynamic-no-pic to fPIC.
46 * Makefile.in: Regenerated.
47
c8abc205
GA
482021-06-28 Martin Sebor <msebor@redhat.com>
49
50 * libcp1plugin.cc (record_decl_address): Replace a direct use
51 of TREE_NO_WARNING with suppress_warning.
52
44948011
GA
532021-05-05 Tom Tromey <tom@tromey.com>
54
55 * compiler.cc (make_regexp): Take const std::string.
56 (cc1_plugin::compiler_triplet_regexp::find): Update.
57
582021-05-05 Tom Tromey <tom@tromey.com>
59
60 PR c/94669
61 * compiler.hh (compiler_driver_filename): Take const char *.
62 (compiler_triplet_regexp): Likewise.
63
642021-05-05 Tom Tromey <tom@tromey.com>
65
66 * rpc.hh (argument_wrapper) <get>: Replace cast operator.
67 (argument_wrapper<T *>) <get>: Likewise.
68 (unmarshall): Add std::tuple overloads.
69 (callback): Remove.
70 (class invoker): New.
71 * libcp1plugin.cc (plugin_init): Update.
72 * libcp1.cc (libcp1::add_callbacks): Update.
73 * libcc1plugin.cc (plugin_init): Update.
74 * libcc1.cc (libcc1::add_callbacks): Update.
75 * connection.cc (cc1_plugin::connection::do_wait): Update.
76
772021-05-05 Tom Tromey <tom@tromey.com>
78
79 * gdbctx.hh (do_compile): Use std::vector.
80
812021-05-05 Tom Tromey <tom@tromey.com>
82
83 * libcp1.cc (libcp1): Change parameters. Update.
84 (libcp1_set_verbose, libcp1_set_arguments)
85 (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
86 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
87 (libcp1_compile, libcp1_destroy, vtable): Remove.
88 (libcp1::add_callbacks): New method, extracted from
89 libcp1_compile.
90 (gcc_c_fe_context): Update.
91 * libcc1.cc (libcc1): Change parameters. Update.
92 (libcc1_set_verbose, libcc1_set_arguments)
93 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
94 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
95 (libcc1_compile, libcc1_destroy, vtable): Remove.
96 (libcc1::add_callbacks): New method, extracted from
97 libcc1_compile.
98 (gcc_c_fe_context): Update.
99 * gdbctx.hh (base_gdb_plugin): Change parameters.
100 (~base_gdb_plugin): New.
101 <add_callbacks>: New virtual method.
102 <plugin_name, fe_version, compiler_name, vtable>: New members.
103 (get_self, do_set_verbose, do_set_arguments)
104 (do_set_triplet_regexp, do_set_driver_filename)
105 (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
106 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
107
1082021-05-05 Tom Tromey <tom@tromey.com>
109
110 * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
111
1122021-05-05 Tom Tromey <tom@tromey.com>
113
114 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove
115 shared code.
116 (class libcp1_connection): Remove.
117 (rpc): Remove.
118 (libcp1_set_verbose, libcp1_compile): Update.
119 (cp_call_binding_oracle, cp_call_symbol_address)
120 (cp_call_enter_scope, cp_call_leave_scope): Update.
121 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove
122 shared code.
123 (class libcc1_connection): Remove.
124 (c_call_binding_oracle, c_call_symbol_address): Update.
125 (rpc): Remove.
126 (libcc1_set_verbose, libcc1_compile): Update.
127 * gdbctx.hh: New file.
128
1292021-05-05 Tom Tromey <tom@tromey.com>
130
131 * libcc1plugin.cc: Move code to context.cc.
132 * libcp1plugin.cc: Move code to context.cc.
133 * context.hh: New file.
134 * context.cc: New file.
135 * Makefile.in: Rebuild.
136 * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
137 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
138 (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
139 (libcp1plugin_la_SOURCES): Likewise.
140
1412021-05-05 Tom Tromey <tom@tromey.com>
142
143 * libcp1plugin.cc: Use static assert.
144
1452021-05-05 Tom Tromey <tom@tromey.com>
146
147 * libcp1plugin.cc (plugin_context::mark): Use foreach.
148 * libcc1plugin.cc (plugin_context::mark): Use foreach.
149
1502021-05-05 Tom Tromey <tom@tromey.com>
151
152 * libcp1.cc (compiler, compiler_triplet_regexp)
153 (compiler_driver_filename): Remove.
154 (libcp1::libcp1): Update.
155 (make_regexp, libcp1::compiler::find)
156 (libcp1::compiler_triplet_regexp::find)
157 (libcp1::compiler_driver_filename::find): Remove.
158 (libcp1_set_verbose, libcp1_set_arguments)
159 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
160 * libcc1.cc (compiler, compiler_triplet_regexp)
161 (compiler_driver_filename): Remove.
162 (libcc1::libcc1): Update.
163 (make_regexp, libcc1::compiler::find)
164 (libcc1::compiler_triplet_regexp::find)
165 (libcc1::compiler_driver_filename::find): Remove.
166 (libcc1_set_verbose, libcc1_set_arguments)
167 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
168 * compiler.cc: New file.
169 * compiler.hh: New file.
170 * Makefile.in: Rebuild.
171 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
172
1732021-05-05 Tom Tromey <tom@tromey.com>
174
175 * libcp1.cc (struct libcp1) <connection, compilerp>: Use
176 unique_ptr.
177 (~libcp1): Remove.
178 (libcp1_compile, libcp1_set_triplet_regexp)
179 (libcp1_set_driver_filename): Update.
180 * libcc1.cc (struct libcc1) <connection, compilerp>: Use
181 unique_ptr.
182 (~libcc1): Remove.
183 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
184 (libcc1_compile): Update.
185
1862021-05-05 Tom Tromey <tom@tromey.com>
187
188 * rpc.hh (deleter): Move template and some specializations to
189 deleter.hh.
190 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
191 * marshall.cc (cc1_plugin::unmarshall): Use
192 cc1_plugin::unique_ptr.
193 * marshall-cp.hh (deleter): New specializations.
194 (unmarshall): Use cc1_plugin::unique_ptr.
195 * deleter.hh: New file.
196
1972021-05-05 Tom Tromey <tom@tromey.com>
198
199 * rpc.hh (struct deleter): New template class and
200 specializations.
201 (argument_wrapper): Remove specializations. Add specialization
202 for any pointer type.
203
2042021-05-05 Tom Tromey <tom@tromey.com>
205
206 * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
207 * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
208
2092021-05-05 Tom Tromey <tom@tromey.com>
210
211 * libcp1.cc (rpc): Use variadic template. Remove overloads.
212 * libcc1.cc (rpc): Use variadic template. Remove overloads.
213
2142021-05-05 Tom Tromey <tom@tromey.com>
215
216 * rpc.hh (call): Use variadic template. Remove overloads.
217 * marshall.hh (marshall): Add base overload. Use variadic
218 template.
219
2202021-05-05 Tom Tromey <tom@tromey.com>
221
222 * rpc.hh (argument_wrapper): Use delete for copy constructor.
223 * connection.hh (class connection): Use delete for copy
224 constructor.
225 * callbacks.hh (class callbacks): Use delete for copy constructor.
226
2272021-05-05 Tom Tromey <tom@tromey.com>
228
229 * connection.hh (~connection): Use default.
230 (print): Inline.
231 * connection.cc (cc1_plugin::connection::~connection)
232 (cc1_plugin::connection::print): Remove definitions.
233
2342021-05-05 Tom Tromey <tom@tromey.com>
235
236 * libcp1.cc (class compiler_triplet_regexp)
237 (class compiler_driver_filename, class libcp1_connection): Use
238 "override".
239 * libcc1.cc (class compiler_triplet_regexp)
240 (class compiler_driver_filename, class libcc1_connection): Use
241 "override".
242
2432021-05-05 Tom Tromey <tom@tromey.com>
244
245 * marshall.hh (cc1_plugin::unmarshall): Use type traits.
246 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
247 * marshall-c.hh: Remove.
248 * libcc1plugin.cc: Update includes.
249 * libcc1.cc: Update includes.
250
e690396d
GA
2512021-05-03 H.J. Lu <hjl.tools@gmail.com>
252
253 PR bootstrap/99703
254 * configure: Regenerated.
255
651b8a50
GA
2562021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
257
258 * configure: Re-generate.
259
b1a2242e
GA
2602020-12-18 Jakub Jelinek <jakub@redhat.com>
261
262 PR bootstrap/98380
263 * configure.ac: Set darwin_dynamic_lookup=no instead to empty
264 string.
265 * configure: Regenerated.
266
6e1edf48
GA
2672020-12-05 Iain Sandoe <iain@sandoe.co.uk>
268
269 PR target/97865
270 * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
271 * configure.ac: Test for Darwin host and set a flag.
272 * Makefile.in: Regenerate.
273 * configure: Regenerate.
274
a9625c50
GA
2752020-11-29 John David Anglin <danglin@gcc.gnu.org>
276
277 * configure: Regenerate.
278
0f5f9ed5
GA
2792020-11-11 Patrick Palka <ppalka@redhat.com>
280
281 PR c++/88115
282 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
283 cxx_sizeof_or_alignof_expr.
284
bb622641
GA
2852020-11-10 Marek Polacek <polacek@redhat.com>
286
287 PR c++/97518
288 * libcp1plugin.cc (plugin_add_static_assert): Pass false to
289 finish_static_assert.
290
44cab2d8
GA
2912020-11-06 Nathan Sidwell <nathan@acm.org>
292
293 * libcc1plugin.cc (address_rewriter): Rename
294 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
295 * libcp1plugin.cc (supplement_binding): Likewise.
296
b2698c21
GA
2972020-10-14 Nathan Sidwell <nathan@acm.org>
298
299 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
300
6caec77e
GA
3012020-10-07 Nathan Sidwell <nathan@acm.org>
302
303 * libcp1plugin.cc (supplement_binding): Rename
304 DECL_BUILTIN_P.
305
b0b9b8f0
GA
3062020-10-02 Nathan Sidwell <nathan@acm.org>
307
308 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
309
cdd8f031
GA
3102020-09-25 Nathan Sidwell <nathan@acm.org>
311
312 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
313
a2b7397b
GA
3142020-09-24 Nathan Sidwell <nathan@acm.org>
315
316 * libcp1plugin.cc (supplement_binding): Drop default args to
317 duplicate_decls.
318 (safe_pushtag): Drop scope parm. Drop default args to pushtag.
319 (safe_pushdecl_maybe_friend): Rename to ...
320 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args
321 to pushdecl.
322 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
323 (plugin_build_constant): Adjust safe_pushdecl call.
324
fdcc0283
GA
3252020-09-10 Nathan Sidwell <nathan@acm.org>
326
327 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
328
661ee09b
GA
3292020-08-14 Nathan Sidwell <nathan@acm.org>
330
331 * libcp1plugin.cc (plugin_build_dependent_expr): Rename
332 lookup_name_real call.
333
3342020-08-14 Nathan Sidwell <nathan@acm.org>
335
336 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
337 lookup_name_real call.
338
3392020-08-14 Nathan Sidwell <nathan@acm.org>
340
341 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
342 lookup_name_real & lookup_qualified_name calls.
343
b3cb5606
GA
3442020-08-13 Nathan Sidwell <nathan@acm.org>
345
346 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
347
d48cca8f
GA
3482020-07-30 H.J. Lu <hjl.tools@gmail.com>
349
350 PR bootstrap/96202
351 * configure: Regenerated.
352
46fbb6c6
GA
3532020-06-30 Nathan Sidwell <nathan@acm.org>
354
355 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
356 call.
357
885ef72f
GA
3582020-05-29 H.J. Lu <hjl.tools@gmail.com>
359
360 PR bootstrap/95413
361 * configure: Regenerated.
362
8d286dd1
L
3632020-05-14 H.J. Lu <hongjiu.lu@intel.com>
364
365 * configure: Regenerated.
366
af3bef0e
L
3672020-05-12 H.J. Lu <hongjiu.lu@intel.com>
368
369 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
370 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
371 AC_SUBST(CET_HOST_FLAGS).
372 * Makefile.in: Regenerated.
373 * aclocal.m4: Likewise.
374 * configure: Likewise.
375
a6ee556c
PP
3762020-02-12 Patrick Palka <ppalka@redhat.com>
377
378 PR c++/69448
379 PR c++/80471
380 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
381 AUTO_IS_DECLTYPE anymore.
382
87d3f828
PC
3832020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
384
385 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
386
8d9254fc
JJ
3872020-01-01 Jakub Jelinek <jakub@redhat.com>
388
389 Update copyright years.
390
04e4997a
PC
3912019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
392
393 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
394 call.
395
d3769410
PC
3962019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
397
398 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
399 and cxx_sizeof_or_alignof_expr calls.
400 (plugin_build_unary_type_expr): Likewise for
401 cxx_sizeof_or_alignof_type.
402
ca6932ad
PC
4032019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
404
405 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
406 declaration.
407
ad774d0d
PC
4082019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
409
410 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
411 build_functional_cast call.
412
3554d8ff
PC
4132019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
414
415 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
416 cp_build_indirect_ref call.
417
e9085da5
MR
4182019-09-27 Maciej W. Rozycki <macro@wdc.com>
419
420 * configure: Regenerate.
421
692af872
NS
4222019-05-21 Nathan Sidwell <nathan@acm.org>
423
424 * libcp1plugin.cc (plugin_add_using_decl): Use
425 finish_nonmember_using_decl.
426
6db76e48
NS
4272019-05-20 Nathan Sidwell <nathan@acm.org>
428
429 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
430 finish_using_directive.
431
a5544970
JJ
4322019-01-01 Jakub Jelinek <jakub@redhat.com>
433
434 Update copyright years.
435
620e594b
DM
4362018-11-13 David Malcolm <dmalcolm@redhat.com>
437
438 * libcc1plugin.cc: Replace "source_location" with "location_t".
439 (plugin_context::get_source_location): Rename to...
440 (plugin_context::get_location_t): ...this.
441 * libcp1plugin.cc: Likewise.
442
22e05272
JM
4432018-10-31 Joseph Myers <joseph@codesourcery.com>
444
445 PR bootstrap/82856
446 * configure.ac: Remove AC_PREREQ.
447 * Makefile.in, aclocal.m4, configure: Regenerate.
448
001ddaa8
DM
4492018-04-18 David Malcolm <dmalcolm@redhat.com>
450
451 PR jit/85384
452 * configure: Regenerate.
453
85ec4feb
JJ
4542018-01-03 Jakub Jelinek <jakub@redhat.com>
455
456 Update copyright years.
457
8c7dbea9
BK
4582017-11-14 Boris Kolpackov <boris@codesynthesis.com>
459
460 * configure: Regenerate.
461
9d99775c
SDJ
4622017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
463 Pedro Alves <palves@redhat.com>
464
465 * Makefile.am: Remove references to c-compiler-name.h and
466 cp-compiler-name.h
467 * Makefile.in: Regenerate.
468 * compiler-name.hh: New file.
469 * libcc1.cc: Don't include c-compiler-name.h. Include
470 compiler-name.hh.
471 * libcp1.cc: Don't include cp-compiler-name.h. Include
472 compiler-name.hh.
473
ce121158
NS
4742017-11-01 Nathan Sidwell <nathan@acm.org>
475
476 * libcp1plugin.cc (plugin_build_decl): Use
477 DECL_OVERLOADED_OPERATOR_CODE_RAW.
478
88a819be
NS
4792017-10-31 Nathan Sidwell <nathan@acm.org>
480
481 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
482 Directly set operator code.
483 (plugin_build_dependent_expr): Use ovl_op_identifier.
484
b419102c
NS
4852017-10-04 Nathan Sidwell <nathan@acm.org>
486
487 * libcp1plugin.cc (supplement_binding): Don't use
488 maybe_remove_implicit_alias.
489
5aaa8fb4
NS
4902017-07-20 Nathan Sidwell <nathan@acm.org>
491
492 Remove TYPE_METHODS.
493 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
494
75f8b378
NS
4952017-07-12 Nathan Sidwell <nathan@acm.org>
496
497 * libcp1plugin.cc (plugin_build_decl): Use
498 DECL_CXX_{CON,DE}STRUCTOR directly.
499
d8448c58
RS
5002017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
501
502 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
503
08fb1316
NS
5042017-06-30 Nathan Sidwell <nathan@acm.org>
505
506 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
507 (plugin_build_dependent_expr): Likewise.
508
d6ef53f2
NS
5092017-06-26 Nathan Sidwell <nathan@acm.org>
510
511 * libcp1plugin.cc (plugin_build_decl): Don't set
512 DECL_ASSIGNMENT_OPERATOR_P.
513
e249fcad
NS
5142017-06-16 Nathan Sidwell <nathan@acm.org>
515
516 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
517
e1cad930
NS
5182017-05-26 Nathan Sidwell <nathan@acm.org>
519
3c9feefc
NS
520 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
521
e1cad930
NS
522 * libcp1plugin.cc (plugin_add_using_namespace): Call
523 finish_namespace_using_directive.
524
44e00a7a
NS
5252017-05-25 Nathan Sidwell <nathan@acm.org>
526
527 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
528 DECL_NAMESPACE_INLINE_P.
529
9d029ddf
NS
5302017-05-23 Nathan Sidwell <nathan@acm.org>
531
532 * libcp1plugin.cc (plugin_add_using_decl): Call
533 finish_namespace_using_decl. Use assert not unreachable.
534
ce9750d5
NS
5352017-05-11 Nathan Sidwell <nathan@acm.org>
536
537 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
538
d5a2f455
NS
5392017-05-10 Nathan Sidwell <nathan@acm.org>
540
541 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
542
e072b0c4
AO
5432017-04-15 Alexandre Oliva <aoliva@redhat.com>
544
545 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
546
8db29d88
AO
5472017-01-30 Alexandre Oliva <aoliva@redhat.com>
548
549 Introduce C++ support.
550 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
551 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
552 new macros.
553 (plugin_LTLIBRARIES): Add libcp1plugin.la.
554 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
555 (cp-compiler-name.h): ... this. New.
556 (c-compiler-name.h): Rename all over from...
557 (compiler-name.h): ... this. Create it atomically.
558 (marshall_c_source, marshall_cxx_source): New macros.
559 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
560 Add marshall_c_source expansion.
561 (libcc1plugin.lo_CPPFLAGS): New macro.
562 (libcp1plugin_la_LDFLAGS): Likewise.
563 (libcp1plugin_la_SOURCES): Likewise.
564 (libcp1plugin.lo_CPPFLAGS): Likewise.
565 (libcp1plugin_la_LIBADD): Likewise.
566 (libcp1plugin_la_DEPENDENCIES): Likewise.
567 (libcp1plugin_la_LINK): Likewise.
568 (libcc1_la_SOURCES): Added marshall_c_source and
569 marshall_cxx_source expansions.
570 * Makefile.in: Rebuild.
571 * compiler-name.h: Rename all over to...
572 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
573 of COMPILER_NAME.
574 * plugin.cc: Rename all over to...
575 * libcc1plugin.cc: ... this. Include marshall-c.hh.
576 (address_rewriter): Drop cleaning up of VLA sizes.
577 (plugin_build_decl): Mark decls as external.
578 (plugin_tagbind): Propagate name to all variants.
579 (build_anonymous_node): New.
580 (plugin_build_record_type): Use it instead of make_node.
581 (plugin_build_union_type): Likewise.
582 (plugin_build_enum_type): Likewise.
583 (plugin_finish_record_or_union): Update all type variants.
584 (safe_lookup_builtin_type): New.
585 (plugin_int_check): Factor out of, and add checks to, ...
586 (plugin_int_type): ... this. Rename to...
587 (plugin_int_type_v0): ... this.
588 (plugin_int_type): New interface, new implementation.
589 (plugin_char_type): New.
590 (plugin_float_type_v0): Rename from...
591 (plugin_float_type): ... this. New interface, new implementation.
592 (plugin_init): Bump handshake version.
593 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
594 (call_binding_oracle): Rename to...
595 (c_call_binding_oracle): ... this, into anonymous namespace.
596 (call_symbol_address): Rename to...
597 (c_call_symbol_address): ... this, likewise.
598 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
599 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
600 (fork_exec): Bump to GCC_C_FE_VERSION_1.
601 (libcc1_compile): Prefix callbacks with c_.
602 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
603 * libcc1.sym: Export gcc_cp_fe_context.
604 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
605 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
606 * libcp1plugin.sym: New.
607 * marshall-c.hh: New. Move C-specific types from...
608 * marshall.cc: ... this.
609 (cc1_plugin::marshall_array_start): New.
610 (cc1_plugin::marshall_array_elmts): New.
611 (cc1_plugin::marshall for gcc_type_array): Use the above.
612 (cc1_plugin::unmarshall_array_start): New.
613 (cc1_plugin::unmarshall_array_elmts): New.
614 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
615 * marshall.hh: Declare the new array building blocks.
616 Drop C-specific unmarshall declarations.
617 * marshall-cp.hh: New.
618 * names.cc (GCC_METHOD#): Add LANG:: to method names.
619 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
620 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
621 corresponding namespaces.
622 * rpc.hh: Don't include marshall.hh.
623 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
624 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
625
023721aa
JK
6262017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
627
9f92b93b
JK
628 * findcomp.cc: Include system.h.
629 (search_dir): Return absolute filename.
630
5d1b2443
JK
631 * libcc1.cc (libcc1): Add class compiler with field compilerp,
632 class compiler_triplet_regexp and class
633 compiler_driver_filename.
634 (libcc1::libcc1): Initialize compilerp.
635 (libcc1::~libcc1): Delete compilerp.
636 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
637 (libcc1::compiler_driver_filename::find): New methods.
638 (libcc1_set_arguments): Remove parameter triplet_regexp.
639 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
640 (libcc1_set_arguments_v0): New functions.
641 (vtable): Use libcc1_set_arguments_v0, add
642 libcc1_set_arguments, libcc1_set_triplet_regexp and
643 libcc1_set_driver_filename.
644
3b5c1072
JK
645 * libcc1.cc: Include intl.h.
646 (struct libcc1): Add field verbose.
647 (libcc1::libcc1): Initialize it.
648 (libcc1_set_verbose): New function.
649 (libcc1_set_arguments): Print messages for VERBOSE.
650 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
651 SELF.
652 (libcc1_compile_v0): New function.
653 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
654 libcc1_set_verbose.
655
023721aa
JK
656 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
657 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
658
3c36aa6b
JJ
6592017-01-17 Jakub Jelinek <jakub@redhat.com>
660
661 PR other/79046
662 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
663 use just major number from BASE-VER.
664 * configure: Regenerated.
665 * Makefile.in: Regenerated.
666
2afd3180
JJ
6672017-01-04 Jakub Jelinek <jakub@redhat.com>
668
669 Update copyright years.
670
899ca90e
RS
6712016-11-18 Richard Sandiford <richard.sandiford@arm.com>
672 Alan Hayward <alan.hayward@arm.com>
673 David Sherwood <david.sherwood@arm.com>
674
675 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
676
48eae472
RO
6772016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
678
679 Update copyrights.
680
fe37c7af
MM
6812016-04-18 Michael Matz <matz@suse.de>
682
683 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
684
fa246aa3
SB
6852016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
686
687 PR bootstrap/70173
688 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
689 (compiler-name.h): Shorten recipe so that it fits the line.
690 * Makefile.in: Regenerate.
691
ca37d49a
AS
6922016-03-14 Andreas Schwab <schwab@suse.de>
693
694 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
695 * configure: Regenerate.
696 * Makefile.in: Regenerate.
697
95fbe13e
RS
6982015-06-25 Richard Sandiford <richard.sandiford@arm.com>
699
700 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
701 rather than typed_free_remove. Remove redudant typedefs.
702
8d67ee55
RS
7032015-06-25 Richard Sandiford <richard.sandiford@arm.com>
704
705 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
706 than typed_noop_remove. Remove redudant typedefs.
707 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
708 (plugin_context::mark): Likewise.
709
4709a6d2
MH
7102015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
711
712 * Makefile.in: Regenerated with automake-1.11.6.
713 * aclocal.m4: Likewise.
714 * configure: Likewise.
715
67f58944
TS
7162015-04-18 Trevor Saunders <tsaunders@mozilla.com>
717
718 * plugin.cc: Adjust for hash_table changes.
719
f8a7e154
AS
7202015-04-15 Andreas Schwab <schwab@suse.de>
721
722 PR bootstrap/65763
723 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
724 * Makefile.in: Regenerated.
725
40fecdd6
JM
7262015-01-30 Joseph Myers <joseph@codesourcery.com>
727
728 * plugin.cc: All callers of fatal_error changed to pass
729 input_location as first argument.
730
adfac8df
JJ
7312015-01-09 Michael Collison <michael.collison@linaro.org>
732
733 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
734 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
735 due to flattening of tree.h.
736
a699d672
L
7372014-11-21 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR bootstrap/63784
740 * configure: Regenerated.
741
0ed4f879
RO
7422014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
743
744 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
745 * configure: Regenerate.
746 * connection.cc: Include <string.h>.
fe37c7af 747 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
0ed4f879 748
ebf6d33b
FXC
7492014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
750
751 PR target/63610
752 * configure: Regenerate.
753
33c430b5
FXC
7542014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
755
756 PR bootstrap/63699
757 PR bootstrap/63750
758 * plugin.cc: Don't include <string>.
759
ca557f53
JJ
7602014-10-29 Jakub Jelinek <jakub@redhat.com>
761 Phil Muldoon <pmuldoon@redhat.com>
762
763 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
764 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
765 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
766 (WERROR_FLAG): Remove.
767 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
768 * configure: Regenerated.
769 * Makefile.in: Regenerated.
770
56f274b2
JJ
7712014-10-29 Jakub Jelinek <jakub@redhat.com>
772
773 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
774 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
775 New variables.
776 (libiberty): Set to -Wc, followed by the first existing noasan/,
777 pic/ or . libiberty.a.
778 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
779 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
780 * Makefile.in: Regenerated.
781
ddc8de03
PM
7822014-10-27 Phil Muldoon <pmuldoon@redhat.com>
783 Jan Kratochvil <jan.kratochvil@redhat.com>
784 Tom Tromey <tromey@redhat.com>
785
786 * aclocal.m4: New file.
787 * callbacks.cc: New file.
788 * callbacks.hh: New file.
789 * cc1plugin-config.h.in: New file.
790 * configure: New file.
791 * configure.ac: New file.
792 * connection.cc: New file.
793 * connection.hh: New file.
794 * findcomp.cc: New file.
795 * findcomp.hh: New file.
796 * libcc1.cc: New file.
797 * libcc1plugin.sym: New file.
798 * libcc1.sym: New file.
799 * Makefile.am: New file.
800 * Makefile.in: New file.
801 * marshall.cc: New file.
802 * marshall.hh: New file.
803 * names.cc: New file.
804 * names.hh: New file.
805 * plugin.cc: New file.
806 * rpc.hh: New file.
807 * status.hh: New file.