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