]> git.ipfire.org Git - thirdparty/gcc.git/blob - libcc1/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libcc1 / ChangeLog
1 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * configure: Re-generate.
4
5 2020-12-18 Jakub Jelinek <jakub@redhat.com>
6
7 PR bootstrap/98380
8 * configure.ac: Set darwin_dynamic_lookup=no instead to empty
9 string.
10 * configure: Regenerated.
11
12 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
13
14 PR target/97865
15 * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
16 * configure.ac: Test for Darwin host and set a flag.
17 * Makefile.in: Regenerate.
18 * configure: Regenerate.
19
20 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
21
22 * configure: Regenerate.
23
24 2020-11-11 Patrick Palka <ppalka@redhat.com>
25
26 PR c++/88115
27 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
28 cxx_sizeof_or_alignof_expr.
29
30 2020-11-10 Marek Polacek <polacek@redhat.com>
31
32 PR c++/97518
33 * libcp1plugin.cc (plugin_add_static_assert): Pass false to
34 finish_static_assert.
35
36 2020-11-06 Nathan Sidwell <nathan@acm.org>
37
38 * libcc1plugin.cc (address_rewriter): Rename
39 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
40 * libcp1plugin.cc (supplement_binding): Likewise.
41
42 2020-10-14 Nathan Sidwell <nathan@acm.org>
43
44 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
45
46 2020-10-07 Nathan Sidwell <nathan@acm.org>
47
48 * libcp1plugin.cc (supplement_binding): Rename
49 DECL_BUILTIN_P.
50
51 2020-10-02 Nathan Sidwell <nathan@acm.org>
52
53 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
54
55 2020-09-25 Nathan Sidwell <nathan@acm.org>
56
57 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
58
59 2020-09-24 Nathan Sidwell <nathan@acm.org>
60
61 * libcp1plugin.cc (supplement_binding): Drop default args to
62 duplicate_decls.
63 (safe_pushtag): Drop scope parm. Drop default args to pushtag.
64 (safe_pushdecl_maybe_friend): Rename to ...
65 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args
66 to pushdecl.
67 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
68 (plugin_build_constant): Adjust safe_pushdecl call.
69
70 2020-09-10 Nathan Sidwell <nathan@acm.org>
71
72 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
73
74 2020-08-14 Nathan Sidwell <nathan@acm.org>
75
76 * libcp1plugin.cc (plugin_build_dependent_expr): Rename
77 lookup_name_real call.
78
79 2020-08-14 Nathan Sidwell <nathan@acm.org>
80
81 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
82 lookup_name_real call.
83
84 2020-08-14 Nathan Sidwell <nathan@acm.org>
85
86 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
87 lookup_name_real & lookup_qualified_name calls.
88
89 2020-08-13 Nathan Sidwell <nathan@acm.org>
90
91 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
92
93 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
94
95 PR bootstrap/96202
96 * configure: Regenerated.
97
98 2020-06-30 Nathan Sidwell <nathan@acm.org>
99
100 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
101 call.
102
103 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
104
105 PR bootstrap/95413
106 * configure: Regenerated.
107
108 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
109
110 * configure: Regenerated.
111
112 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
113
114 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
115 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
116 AC_SUBST(CET_HOST_FLAGS).
117 * Makefile.in: Regenerated.
118 * aclocal.m4: Likewise.
119 * configure: Likewise.
120
121 2020-02-12 Patrick Palka <ppalka@redhat.com>
122
123 PR c++/69448
124 PR c++/80471
125 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
126 AUTO_IS_DECLTYPE anymore.
127
128 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
129
130 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
131
132 2020-01-01 Jakub Jelinek <jakub@redhat.com>
133
134 Update copyright years.
135
136 2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
137
138 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
139 call.
140
141 2019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
142
143 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
144 and cxx_sizeof_or_alignof_expr calls.
145 (plugin_build_unary_type_expr): Likewise for
146 cxx_sizeof_or_alignof_type.
147
148 2019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
149
150 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
151 declaration.
152
153 2019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
154
155 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
156 build_functional_cast call.
157
158 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
159
160 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
161 cp_build_indirect_ref call.
162
163 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
164
165 * configure: Regenerate.
166
167 2019-05-21 Nathan Sidwell <nathan@acm.org>
168
169 * libcp1plugin.cc (plugin_add_using_decl): Use
170 finish_nonmember_using_decl.
171
172 2019-05-20 Nathan Sidwell <nathan@acm.org>
173
174 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
175 finish_using_directive.
176
177 2019-01-01 Jakub Jelinek <jakub@redhat.com>
178
179 Update copyright years.
180
181 2018-11-13 David Malcolm <dmalcolm@redhat.com>
182
183 * libcc1plugin.cc: Replace "source_location" with "location_t".
184 (plugin_context::get_source_location): Rename to...
185 (plugin_context::get_location_t): ...this.
186 * libcp1plugin.cc: Likewise.
187
188 2018-10-31 Joseph Myers <joseph@codesourcery.com>
189
190 PR bootstrap/82856
191 * configure.ac: Remove AC_PREREQ.
192 * Makefile.in, aclocal.m4, configure: Regenerate.
193
194 2018-04-18 David Malcolm <dmalcolm@redhat.com>
195
196 PR jit/85384
197 * configure: Regenerate.
198
199 2018-01-03 Jakub Jelinek <jakub@redhat.com>
200
201 Update copyright years.
202
203 2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
204
205 * configure: Regenerate.
206
207 2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
208 Pedro Alves <palves@redhat.com>
209
210 * Makefile.am: Remove references to c-compiler-name.h and
211 cp-compiler-name.h
212 * Makefile.in: Regenerate.
213 * compiler-name.hh: New file.
214 * libcc1.cc: Don't include c-compiler-name.h. Include
215 compiler-name.hh.
216 * libcp1.cc: Don't include cp-compiler-name.h. Include
217 compiler-name.hh.
218
219 2017-11-01 Nathan Sidwell <nathan@acm.org>
220
221 * libcp1plugin.cc (plugin_build_decl): Use
222 DECL_OVERLOADED_OPERATOR_CODE_RAW.
223
224 2017-10-31 Nathan Sidwell <nathan@acm.org>
225
226 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
227 Directly set operator code.
228 (plugin_build_dependent_expr): Use ovl_op_identifier.
229
230 2017-10-04 Nathan Sidwell <nathan@acm.org>
231
232 * libcp1plugin.cc (supplement_binding): Don't use
233 maybe_remove_implicit_alias.
234
235 2017-07-20 Nathan Sidwell <nathan@acm.org>
236
237 Remove TYPE_METHODS.
238 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
239
240 2017-07-12 Nathan Sidwell <nathan@acm.org>
241
242 * libcp1plugin.cc (plugin_build_decl): Use
243 DECL_CXX_{CON,DE}STRUCTOR directly.
244
245 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
246
247 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
248
249 2017-06-30 Nathan Sidwell <nathan@acm.org>
250
251 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
252 (plugin_build_dependent_expr): Likewise.
253
254 2017-06-26 Nathan Sidwell <nathan@acm.org>
255
256 * libcp1plugin.cc (plugin_build_decl): Don't set
257 DECL_ASSIGNMENT_OPERATOR_P.
258
259 2017-06-16 Nathan Sidwell <nathan@acm.org>
260
261 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
262
263 2017-05-26 Nathan Sidwell <nathan@acm.org>
264
265 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
266
267 * libcp1plugin.cc (plugin_add_using_namespace): Call
268 finish_namespace_using_directive.
269
270 2017-05-25 Nathan Sidwell <nathan@acm.org>
271
272 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
273 DECL_NAMESPACE_INLINE_P.
274
275 2017-05-23 Nathan Sidwell <nathan@acm.org>
276
277 * libcp1plugin.cc (plugin_add_using_decl): Call
278 finish_namespace_using_decl. Use assert not unreachable.
279
280 2017-05-11 Nathan Sidwell <nathan@acm.org>
281
282 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
283
284 2017-05-10 Nathan Sidwell <nathan@acm.org>
285
286 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
287
288 2017-04-15 Alexandre Oliva <aoliva@redhat.com>
289
290 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
291
292 2017-01-30 Alexandre Oliva <aoliva@redhat.com>
293
294 Introduce C++ support.
295 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
296 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
297 new macros.
298 (plugin_LTLIBRARIES): Add libcp1plugin.la.
299 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
300 (cp-compiler-name.h): ... this. New.
301 (c-compiler-name.h): Rename all over from...
302 (compiler-name.h): ... this. Create it atomically.
303 (marshall_c_source, marshall_cxx_source): New macros.
304 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
305 Add marshall_c_source expansion.
306 (libcc1plugin.lo_CPPFLAGS): New macro.
307 (libcp1plugin_la_LDFLAGS): Likewise.
308 (libcp1plugin_la_SOURCES): Likewise.
309 (libcp1plugin.lo_CPPFLAGS): Likewise.
310 (libcp1plugin_la_LIBADD): Likewise.
311 (libcp1plugin_la_DEPENDENCIES): Likewise.
312 (libcp1plugin_la_LINK): Likewise.
313 (libcc1_la_SOURCES): Added marshall_c_source and
314 marshall_cxx_source expansions.
315 * Makefile.in: Rebuild.
316 * compiler-name.h: Rename all over to...
317 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
318 of COMPILER_NAME.
319 * plugin.cc: Rename all over to...
320 * libcc1plugin.cc: ... this. Include marshall-c.hh.
321 (address_rewriter): Drop cleaning up of VLA sizes.
322 (plugin_build_decl): Mark decls as external.
323 (plugin_tagbind): Propagate name to all variants.
324 (build_anonymous_node): New.
325 (plugin_build_record_type): Use it instead of make_node.
326 (plugin_build_union_type): Likewise.
327 (plugin_build_enum_type): Likewise.
328 (plugin_finish_record_or_union): Update all type variants.
329 (safe_lookup_builtin_type): New.
330 (plugin_int_check): Factor out of, and add checks to, ...
331 (plugin_int_type): ... this. Rename to...
332 (plugin_int_type_v0): ... this.
333 (plugin_int_type): New interface, new implementation.
334 (plugin_char_type): New.
335 (plugin_float_type_v0): Rename from...
336 (plugin_float_type): ... this. New interface, new implementation.
337 (plugin_init): Bump handshake version.
338 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
339 (call_binding_oracle): Rename to...
340 (c_call_binding_oracle): ... this, into anonymous namespace.
341 (call_symbol_address): Rename to...
342 (c_call_symbol_address): ... this, likewise.
343 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
344 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
345 (fork_exec): Bump to GCC_C_FE_VERSION_1.
346 (libcc1_compile): Prefix callbacks with c_.
347 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
348 * libcc1.sym: Export gcc_cp_fe_context.
349 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
350 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
351 * libcp1plugin.sym: New.
352 * marshall-c.hh: New. Move C-specific types from...
353 * marshall.cc: ... this.
354 (cc1_plugin::marshall_array_start): New.
355 (cc1_plugin::marshall_array_elmts): New.
356 (cc1_plugin::marshall for gcc_type_array): Use the above.
357 (cc1_plugin::unmarshall_array_start): New.
358 (cc1_plugin::unmarshall_array_elmts): New.
359 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
360 * marshall.hh: Declare the new array building blocks.
361 Drop C-specific unmarshall declarations.
362 * marshall-cp.hh: New.
363 * names.cc (GCC_METHOD#): Add LANG:: to method names.
364 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
365 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
366 corresponding namespaces.
367 * rpc.hh: Don't include marshall.hh.
368 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
369 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
370
371 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
372
373 * findcomp.cc: Include system.h.
374 (search_dir): Return absolute filename.
375
376 * libcc1.cc (libcc1): Add class compiler with field compilerp,
377 class compiler_triplet_regexp and class
378 compiler_driver_filename.
379 (libcc1::libcc1): Initialize compilerp.
380 (libcc1::~libcc1): Delete compilerp.
381 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
382 (libcc1::compiler_driver_filename::find): New methods.
383 (libcc1_set_arguments): Remove parameter triplet_regexp.
384 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
385 (libcc1_set_arguments_v0): New functions.
386 (vtable): Use libcc1_set_arguments_v0, add
387 libcc1_set_arguments, libcc1_set_triplet_regexp and
388 libcc1_set_driver_filename.
389
390 * libcc1.cc: Include intl.h.
391 (struct libcc1): Add field verbose.
392 (libcc1::libcc1): Initialize it.
393 (libcc1_set_verbose): New function.
394 (libcc1_set_arguments): Print messages for VERBOSE.
395 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
396 SELF.
397 (libcc1_compile_v0): New function.
398 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
399 libcc1_set_verbose.
400
401 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
402 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
403
404 2017-01-17 Jakub Jelinek <jakub@redhat.com>
405
406 PR other/79046
407 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
408 use just major number from BASE-VER.
409 * configure: Regenerated.
410 * Makefile.in: Regenerated.
411
412 2017-01-04 Jakub Jelinek <jakub@redhat.com>
413
414 Update copyright years.
415
416 2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
417 Alan Hayward <alan.hayward@arm.com>
418 David Sherwood <david.sherwood@arm.com>
419
420 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
421
422 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
423
424 Update copyrights.
425
426 2016-04-18 Michael Matz <matz@suse.de>
427
428 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
429
430 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
431
432 PR bootstrap/70173
433 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
434 (compiler-name.h): Shorten recipe so that it fits the line.
435 * Makefile.in: Regenerate.
436
437 2016-03-14 Andreas Schwab <schwab@suse.de>
438
439 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
440 * configure: Regenerate.
441 * Makefile.in: Regenerate.
442
443 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
444
445 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
446 rather than typed_free_remove. Remove redudant typedefs.
447
448 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
449
450 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
451 than typed_noop_remove. Remove redudant typedefs.
452 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
453 (plugin_context::mark): Likewise.
454
455 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
456
457 * Makefile.in: Regenerated with automake-1.11.6.
458 * aclocal.m4: Likewise.
459 * configure: Likewise.
460
461 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
462
463 * plugin.cc: Adjust for hash_table changes.
464
465 2015-04-15 Andreas Schwab <schwab@suse.de>
466
467 PR bootstrap/65763
468 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
469 * Makefile.in: Regenerated.
470
471 2015-01-30 Joseph Myers <joseph@codesourcery.com>
472
473 * plugin.cc: All callers of fatal_error changed to pass
474 input_location as first argument.
475
476 2015-01-09 Michael Collison <michael.collison@linaro.org>
477
478 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
479 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
480 due to flattening of tree.h.
481
482 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
483
484 PR bootstrap/63784
485 * configure: Regenerated.
486
487 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
488
489 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
490 * configure: Regenerate.
491 * connection.cc: Include <string.h>.
492 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
493
494 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
495
496 PR target/63610
497 * configure: Regenerate.
498
499 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
500
501 PR bootstrap/63699
502 PR bootstrap/63750
503 * plugin.cc: Don't include <string>.
504
505 2014-10-29 Jakub Jelinek <jakub@redhat.com>
506 Phil Muldoon <pmuldoon@redhat.com>
507
508 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
509 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
510 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
511 (WERROR_FLAG): Remove.
512 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
513 * configure: Regenerated.
514 * Makefile.in: Regenerated.
515
516 2014-10-29 Jakub Jelinek <jakub@redhat.com>
517
518 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
519 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
520 New variables.
521 (libiberty): Set to -Wc, followed by the first existing noasan/,
522 pic/ or . libiberty.a.
523 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
524 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
525 * Makefile.in: Regenerated.
526
527 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
528 Jan Kratochvil <jan.kratochvil@redhat.com>
529 Tom Tromey <tromey@redhat.com>
530
531 * aclocal.m4: New file.
532 * callbacks.cc: New file.
533 * callbacks.hh: New file.
534 * cc1plugin-config.h.in: New file.
535 * configure: New file.
536 * configure.ac: New file.
537 * connection.cc: New file.
538 * connection.hh: New file.
539 * findcomp.cc: New file.
540 * findcomp.hh: New file.
541 * libcc1.cc: New file.
542 * libcc1plugin.sym: New file.
543 * libcc1.sym: New file.
544 * Makefile.am: New file.
545 * Makefile.in: New file.
546 * marshall.cc: New file.
547 * marshall.hh: New file.
548 * names.cc: New file.
549 * names.hh: New file.
550 * plugin.cc: New file.
551 * rpc.hh: New file.
552 * status.hh: New file.