xref: /netbsd-src/external/gpl3/gcc/dist/libcc1/ChangeLog (revision 867d70fc718005c0918b8b8b2f9d7f2d52d0a0db)
12022-06-28  Release Manager
2
3	* GCC 10.4.0 released.
4
52022-05-29  Iain Sandoe  <iainsandoe@Apollo-1-leo.local>
6
7	* Makefile.am: Switch mdynamic-no-pic to fPIC.
8	* Makefile.in: Regenerated.
9
102021-04-08  Release Manager
11
12	* GCC 10.3.0 released.
13
142021-01-03  Iain Sandoe  <iain@sandoe.co.uk>
15	    Jakub Jelinek   <jakub@redhat.com>
16
17	PR target/97865
18	* Makefile.am: Add dynamic_lookup to LD flags for Darwin.
19	* configure.ac: Test for Darwin host and set a flag.
20	* Makefile.in: Regenerate.
21	* configure: Regenerate.
22
232020-07-23  Release Manager
24
25	* GCC 10.2.0 released.
26
272020-05-07  Release Manager
28
29	* GCC 10.1.0 released.
30
312020-02-12  Patrick Palka  <ppalka@redhat.com>
32
33	PR c++/69448
34	PR c++/80471
35	* libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
36	AUTO_IS_DECLTYPE anymore.
37
382020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
39
40	* libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
41
422020-01-01  Jakub Jelinek  <jakub@redhat.com>
43
44	Update copyright years.
45
462019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
47
48	* libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
49	call.
50
512019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
52
53	* libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
54	and cxx_sizeof_or_alignof_expr calls.
55	(plugin_build_unary_type_expr): Likewise for
56	cxx_sizeof_or_alignof_type.
57
582019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
59
60	* libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
61	declaration.
62
632019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
64
65	* libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
66	build_functional_cast call.
67
682019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
69
70	* libcp1plugin.cc (plugin_pragma_push_user_expression): Update
71	cp_build_indirect_ref call.
72
732019-09-27  Maciej W. Rozycki  <macro@wdc.com>
74
75	* configure: Regenerate.
76
772019-05-21  Nathan Sidwell  <nathan@acm.org>
78
79	* libcp1plugin.cc (plugin_add_using_decl): Use
80	finish_nonmember_using_decl.
81
822019-05-20  Nathan Sidwell  <nathan@acm.org>
83
84	* libcp1plugin.cc (plugin_add_using_namespace): Call renamed
85	finish_using_directive.
86
872019-01-01  Jakub Jelinek  <jakub@redhat.com>
88
89	Update copyright years.
90
912018-11-13  David Malcolm  <dmalcolm@redhat.com>
92
93	* libcc1plugin.cc: Replace "source_location" with "location_t".
94	(plugin_context::get_source_location): Rename to...
95	(plugin_context::get_location_t): ...this.
96	* libcp1plugin.cc: Likewise.
97
982018-10-31  Joseph Myers  <joseph@codesourcery.com>
99
100	PR bootstrap/82856
101	* configure.ac: Remove AC_PREREQ.
102	* Makefile.in, aclocal.m4, configure: Regenerate.
103
1042018-04-18  David Malcolm  <dmalcolm@redhat.com>
105
106	PR jit/85384
107	* configure: Regenerate.
108
1092018-01-03  Jakub Jelinek  <jakub@redhat.com>
110
111	Update copyright years.
112
1132017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
114
115	* configure: Regenerate.
116
1172017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
118	    Pedro Alves  <palves@redhat.com>
119
120	* Makefile.am: Remove references to c-compiler-name.h and
121	cp-compiler-name.h
122	* Makefile.in: Regenerate.
123	* compiler-name.hh: New file.
124	* libcc1.cc: Don't include c-compiler-name.h.  Include
125	compiler-name.hh.
126	* libcp1.cc: Don't include cp-compiler-name.h.  Include
127	compiler-name.hh.
128
1292017-11-01  Nathan Sidwell  <nathan@acm.org>
130
131	* libcp1plugin.cc (plugin_build_decl): Use
132	DECL_OVERLOADED_OPERATOR_CODE_RAW.
133
1342017-10-31  Nathan Sidwell  <nathan@acm.org>
135
136	* libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
137	Directly set operator code.
138	(plugin_build_dependent_expr): Use ovl_op_identifier.
139
1402017-10-04  Nathan Sidwell  <nathan@acm.org>
141
142	* libcp1plugin.cc (supplement_binding): Don't use
143	maybe_remove_implicit_alias.
144
1452017-07-20  Nathan Sidwell  <nathan@acm.org>
146
147	Remove TYPE_METHODS.
148	* libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
149
1502017-07-12  Nathan Sidwell  <nathan@acm.org>
151
152	* libcp1plugin.cc (plugin_build_decl): Use
153	DECL_CXX_{CON,DE}STRUCTOR directly.
154
1552017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
156
157	* libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
158
1592017-06-30  Nathan Sidwell  <nathan@acm.org>
160
161	* libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
162	(plugin_build_dependent_expr): Likewise.
163
1642017-06-26  Nathan Sidwell  <nathan@acm.org>
165
166	* libcp1plugin.cc (plugin_build_decl): Don't set
167	DECL_ASSIGNMENT_OPERATOR_P.
168
1692017-06-16  Nathan Sidwell  <nathan@acm.org>
170
171	* libcp1plugin.cc (plugin_build_decl): Adjust parm building.
172
1732017-05-26  Nathan Sidwell  <nathan@acm.org>
174
175	* libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
176
177	* libcp1plugin.cc (plugin_add_using_namespace): Call
178	finish_namespace_using_directive.
179
1802017-05-25  Nathan Sidwell  <nathan@acm.org>
181
182	* libcp1plugin.cc (plugin_make_namespace_inline): Check and set
183	DECL_NAMESPACE_INLINE_P.
184
1852017-05-23  Nathan Sidwell  <nathan@acm.org>
186
187	* libcp1plugin.cc (plugin_add_using_decl): Call
188	finish_namespace_using_decl.  Use assert not unreachable.
189
1902017-05-11  Nathan Sidwell  <nathan@acm.org>
191
192	* libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
193
1942017-05-10  Nathan Sidwell  <nathan@acm.org>
195
196	* libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
197
1982017-04-15  Alexandre Oliva <aoliva@redhat.com>
199
200	* libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
201
2022017-01-30  Alexandre Oliva <aoliva@redhat.com>
203
204	Introduce C++ support.
205	* Makefile.am (AM_CPPFLAGS): Move some -I flags to...
206	(CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
207	new macros.
208	(plugin_LTLIBRARIES): Add libcp1plugin.la.
209	(BUILT_SOURCES, MOSTLYCLEANFILES): Add...
210	(cp-compiler-name.h): ... this.  New.
211	(c-compiler-name.h): Rename all over from...
212	(compiler-name.h): ... this.  Create it atomically.
213	(marshall_c_source, marshall_cxx_source): New macros.
214	(libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
215	Add marshall_c_source expansion.
216	(libcc1plugin.lo_CPPFLAGS): New macro.
217	(libcp1plugin_la_LDFLAGS): Likewise.
218	(libcp1plugin_la_SOURCES): Likewise.
219	(libcp1plugin.lo_CPPFLAGS): Likewise.
220	(libcp1plugin_la_LIBADD): Likewise.
221	(libcp1plugin_la_DEPENDENCIES): Likewise.
222	(libcp1plugin_la_LINK): Likewise.
223	(libcc1_la_SOURCES): Added marshall_c_source and
224	marshall_cxx_source expansions.
225	* Makefile.in: Rebuild.
226	* compiler-name.h: Rename all over to...
227	* c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
228	of COMPILER_NAME.
229	* plugin.cc: Rename all over to...
230	* libcc1plugin.cc: ... this.  Include marshall-c.hh.
231	(address_rewriter): Drop cleaning up of VLA sizes.
232	(plugin_build_decl): Mark decls as external.
233	(plugin_tagbind): Propagate name to all variants.
234	(build_anonymous_node): New.
235	(plugin_build_record_type): Use it instead of make_node.
236	(plugin_build_union_type): Likewise.
237	(plugin_build_enum_type): Likewise.
238	(plugin_finish_record_or_union): Update all type variants.
239	(safe_lookup_builtin_type): New.
240	(plugin_int_check): Factor out of, and add checks to, ...
241	(plugin_int_type): ... this.  Rename to...
242	(plugin_int_type_v0): ... this.
243	(plugin_int_type): New interface, new implementation.
244	(plugin_char_type): New.
245	(plugin_float_type_v0): Rename from...
246	(plugin_float_type): ... this.  New interface, new implementation.
247	(plugin_init): Bump handshake version.
248	* libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
249	(call_binding_oracle): Rename to...
250	(c_call_binding_oracle): ... this, into anonymous namespace.
251	(call_symbol_address): Rename to...
252	(c_call_symbol_address): ... this, likewise.
253	(GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
254	(libcc1::compiler::find): Refer to C_COMPILER_NAME.
255	(fork_exec): Bump to GCC_C_FE_VERSION_1.
256	(libcc1_compile): Prefix callbacks with c_.
257	(gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
258	* libcc1.sym: Export gcc_cp_fe_context.
259	* libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
260	* libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
261	* libcp1plugin.sym: New.
262	* marshall-c.hh: New.  Move C-specific types from...
263	* marshall.cc: ... this.
264	(cc1_plugin::marshall_array_start): New.
265	(cc1_plugin::marshall_array_elmts): New.
266	(cc1_plugin::marshall for gcc_type_array): Use the above.
267	(cc1_plugin::unmarshall_array_start): New.
268	(cc1_plugin::unmarshall_array_elmts): New.
269	(cc1_plugin::unmarshall for gcc_type_array): Use the above.
270	* marshall.hh: Declare the new array building blocks.
271	Drop C-specific unmarshall declarations.
272	* marshall-cp.hh: New.
273	* names.cc (GCC_METHOD#): Add LANG:: to method names.
274	(LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
275	* names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
276	corresponding namespaces.
277	* rpc.hh: Don't include marshall.hh.
278	[GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
279	gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
280
2812017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
282
283	* findcomp.cc: Include system.h.
284	(search_dir): Return absolute filename.
285
286	* libcc1.cc (libcc1): Add class compiler with field compilerp,
287	class compiler_triplet_regexp and class
288	compiler_driver_filename.
289	(libcc1::libcc1): Initialize compilerp.
290	(libcc1::~libcc1): Delete compilerp.
291	(libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
292	(libcc1::compiler_driver_filename::find): New methods.
293	(libcc1_set_arguments): Remove parameter triplet_regexp.
294	(libcc1_set_triplet_regexp, libcc1_set_driver_filename)
295	(libcc1_set_arguments_v0): New functions.
296	(vtable): Use libcc1_set_arguments_v0, add
297	libcc1_set_arguments, libcc1_set_triplet_regexp and
298	libcc1_set_driver_filename.
299
300	* libcc1.cc: Include intl.h.
301	(struct libcc1): Add field verbose.
302	(libcc1::libcc1): Initialize it.
303	(libcc1_set_verbose): New function.
304	(libcc1_set_arguments): Print messages for VERBOSE.
305	(libcc1_compile): Remove parameter verbose.  Use VERBOSE from
306	SELF.
307	(libcc1_compile_v0): New function.
308	(vtable): Use libcc1_compile_v0 and add libcc1_compile and
309	libcc1_set_verbose.
310
311	* libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
312	(gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
313
3142017-01-17  Jakub Jelinek  <jakub@redhat.com>
315
316	PR other/79046
317	* configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
318	use just major number from BASE-VER.
319	* configure: Regenerated.
320	* Makefile.in: Regenerated.
321
3222017-01-04  Jakub Jelinek  <jakub@redhat.com>
323
324	Update copyright years.
325
3262016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
327 	    Alan Hayward  <alan.hayward@arm.com>
328 	    David Sherwood  <david.sherwood@arm.com>
329
330	* plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
331
3322016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
333
334	Update copyrights.
335
3362016-04-18  Michael Matz  <matz@suse.de>
337
338	* plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
339
3402016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
341
342	PR bootstrap/70173
343	* Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
344	(compiler-name.h): Shorten recipe so that it fits the line.
345	* Makefile.in: Regenerate.
346
3472016-03-14  Andreas Schwab  <schwab@suse.de>
348
349	* configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
350	* configure: Regenerate.
351	* Makefile.in: Regenerate.
352
3532015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
354
355	* plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
356	rather than typed_free_remove.  Remove redudant typedefs.
357
3582015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
359
360	* plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
361	than typed_noop_remove.  Remove redudant typedefs.
362	(plugin_context): Use nofree_ptr_hash rather than pointer_hash.
363	(plugin_context::mark): Likewise.
364
3652015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
366
367	* Makefile.in: Regenerated with automake-1.11.6.
368	* aclocal.m4: Likewise.
369	* configure: Likewise.
370
3712015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
372
373	* plugin.cc: Adjust for hash_table changes.
374
3752015-04-15  Andreas Schwab  <schwab@suse.de>
376
377	PR bootstrap/65763
378	* Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
379	* Makefile.in: Regenerated.
380
3812015-01-30  Joseph Myers  <joseph@codesourcery.com>
382
383	* plugin.cc: All callers of fatal_error changed to pass
384	input_location as first argument.
385
3862015-01-09  Michael Collison  <michael.collison@linaro.org>
387
388	* plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
389	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
390	due to flattening of tree.h.
391
3922014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
393
394	PR bootstrap/63784
395	* configure: Regenerated.
396
3972014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
398
399	* configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
400	* configure: Regenerate.
401	* connection.cc: Include <string.h>.
402	* libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
403
4042014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
405
406	PR target/63610
407	* configure: Regenerate.
408
4092014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
410
411	PR bootstrap/63699
412	PR bootstrap/63750
413	* plugin.cc: Don't include <string>.
414
4152014-10-29  Jakub Jelinek  <jakub@redhat.com>
416	    Phil Muldoon  <pmuldoon@redhat.com>
417
418	* configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
419	ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
420	* Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
421	(WERROR_FLAG): Remove.
422	(AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
423	* configure: Regenerated.
424	* Makefile.in: Regenerated.
425
4262014-10-29  Jakub Jelinek  <jakub@redhat.com>
427
428	* Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
429	(libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
430	New variables.
431	(libiberty): Set to -Wc, followed by the first existing noasan/,
432	pic/ or . libiberty.a.
433	(libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
434	libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
435	* Makefile.in: Regenerated.
436
4372014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
438	    Jan Kratochvil  <jan.kratochvil@redhat.com>
439	    Tom Tromey  <tromey@redhat.com>
440
441	* aclocal.m4: New file.
442	* callbacks.cc: New file.
443	* callbacks.hh: New file.
444	* cc1plugin-config.h.in: New file.
445	* configure: New file.
446	* configure.ac: New file.
447	* connection.cc: New file.
448	* connection.hh: New file.
449	* findcomp.cc: New file.
450	* findcomp.hh: New file.
451	* libcc1.cc: New file.
452	* libcc1plugin.sym: New file.
453	* libcc1.sym: New file.
454	* Makefile.am: New file.
455	* Makefile.in: New file.
456	* marshall.cc: New file.
457	* marshall.hh: New file.
458	* names.cc: New file.
459	* names.hh: New file.
460	* plugin.cc: New file.
461	* rpc.hh: New file.
462	* status.hh: New file.
463