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