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