xref: /netbsd-src/external/gpl3/gcc/dist/libcc1/ChangeLog (revision f3cfa6f6ce31685c6c4a758bc430e69eb99f50a4)
12018-12-06  Release Manager
2
3	* GCC 7.4.0 released.
4
52018-06-22  Jakub Jelinek  <jakub@redhat.com>
6
7	Backported from mainline
8	2018-04-18  David Malcolm  <dmalcolm@redhat.com>
9
10	PR jit/85384
11	* configure: Regenerate.
12
132018-01-25  Release Manager
14
15	* GCC 7.3.0 released.
16
172017-08-14  Release Manager
18
19	* GCC 7.2.0 released.
20
212017-05-02  Release Manager
22
23	* GCC 7.1.0 released.
24
252017-04-15  Alexandre Oliva <aoliva@redhat.com>
26
27	* libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
28
292017-01-30  Alexandre Oliva <aoliva@redhat.com>
30
31	Introduce C++ support.
32	* Makefile.am (AM_CPPFLAGS): Move some -I flags to...
33	(CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
34	new macros.
35	(plugin_LTLIBRARIES): Add libcp1plugin.la.
36	(BUILT_SOURCES, MOSTLYCLEANFILES): Add...
37	(cp-compiler-name.h): ... this.  New.
38	(c-compiler-name.h): Rename all over from...
39	(compiler-name.h): ... this.  Create it atomically.
40	(marshall_c_source, marshall_cxx_source): New macros.
41	(libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
42	Add marshall_c_source expansion.
43	(libcc1plugin.lo_CPPFLAGS): New macro.
44	(libcp1plugin_la_LDFLAGS): Likewise.
45	(libcp1plugin_la_SOURCES): Likewise.
46	(libcp1plugin.lo_CPPFLAGS): Likewise.
47	(libcp1plugin_la_LIBADD): Likewise.
48	(libcp1plugin_la_DEPENDENCIES): Likewise.
49	(libcp1plugin_la_LINK): Likewise.
50	(libcc1_la_SOURCES): Added marshall_c_source and
51	marshall_cxx_source expansions.
52	* Makefile.in: Rebuild.
53	* compiler-name.h: Rename all over to...
54	* c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
55	of COMPILER_NAME.
56	* plugin.cc: Rename all over to...
57	* libcc1plugin.cc: ... this.  Include marshall-c.hh.
58	(address_rewriter): Drop cleaning up of VLA sizes.
59	(plugin_build_decl): Mark decls as external.
60	(plugin_tagbind): Propagate name to all variants.
61	(build_anonymous_node): New.
62	(plugin_build_record_type): Use it instead of make_node.
63	(plugin_build_union_type): Likewise.
64	(plugin_build_enum_type): Likewise.
65	(plugin_finish_record_or_union): Update all type variants.
66	(safe_lookup_builtin_type): New.
67	(plugin_int_check): Factor out of, and add checks to, ...
68	(plugin_int_type): ... this.  Rename to...
69	(plugin_int_type_v0): ... this.
70	(plugin_int_type): New interface, new implementation.
71	(plugin_char_type): New.
72	(plugin_float_type_v0): Rename from...
73	(plugin_float_type): ... this.  New interface, new implementation.
74	(plugin_init): Bump handshake version.
75	* libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
76	(call_binding_oracle): Rename to...
77	(c_call_binding_oracle): ... this, into anonymous namespace.
78	(call_symbol_address): Rename to...
79	(c_call_symbol_address): ... this, likewise.
80	(GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
81	(libcc1::compiler::find): Refer to C_COMPILER_NAME.
82	(fork_exec): Bump to GCC_C_FE_VERSION_1.
83	(libcc1_compile): Prefix callbacks with c_.
84	(gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
85	* libcc1.sym: Export gcc_cp_fe_context.
86	* libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
87	* libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
88	* libcp1plugin.sym: New.
89	* marshall-c.hh: New.  Move C-specific types from...
90	* marshall.cc: ... this.
91	(cc1_plugin::marshall_array_start): New.
92	(cc1_plugin::marshall_array_elmts): New.
93	(cc1_plugin::marshall for gcc_type_array): Use the above.
94	(cc1_plugin::unmarshall_array_start): New.
95	(cc1_plugin::unmarshall_array_elmts): New.
96	(cc1_plugin::unmarshall for gcc_type_array): Use the above.
97	* marshall.hh: Declare the new array building blocks.
98	Drop C-specific unmarshall declarations.
99	* marshall-cp.hh: New.
100	* names.cc (GCC_METHOD#): Add LANG:: to method names.
101	(LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
102	* names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
103	corresponding namespaces.
104	* rpc.hh: Don't include marshall.hh.
105	[GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
106	gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
107
1082017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
109
110	* findcomp.cc: Include system.h.
111	(search_dir): Return absolute filename.
112
113	* libcc1.cc (libcc1): Add class compiler with field compilerp,
114	class compiler_triplet_regexp and class
115	compiler_driver_filename.
116	(libcc1::libcc1): Initialize compilerp.
117	(libcc1::~libcc1): Delete compilerp.
118	(libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
119	(libcc1::compiler_driver_filename::find): New methods.
120	(libcc1_set_arguments): Remove parameter triplet_regexp.
121	(libcc1_set_triplet_regexp, libcc1_set_driver_filename)
122	(libcc1_set_arguments_v0): New functions.
123	(vtable): Use libcc1_set_arguments_v0, add
124	libcc1_set_arguments, libcc1_set_triplet_regexp and
125	libcc1_set_driver_filename.
126
127	* libcc1.cc: Include intl.h.
128	(struct libcc1): Add field verbose.
129	(libcc1::libcc1): Initialize it.
130	(libcc1_set_verbose): New function.
131	(libcc1_set_arguments): Print messages for VERBOSE.
132	(libcc1_compile): Remove parameter verbose.  Use VERBOSE from
133	SELF.
134	(libcc1_compile_v0): New function.
135	(vtable): Use libcc1_compile_v0 and add libcc1_compile and
136	libcc1_set_verbose.
137
138	* libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
139	(gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
140
1412017-01-17  Jakub Jelinek  <jakub@redhat.com>
142
143	PR other/79046
144	* configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
145	use just major number from BASE-VER.
146	* configure: Regenerated.
147	* Makefile.in: Regenerated.
148
1492017-01-04  Jakub Jelinek  <jakub@redhat.com>
150
151	Update copyright years.
152
1532016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
154 	    Alan Hayward  <alan.hayward@arm.com>
155 	    David Sherwood  <david.sherwood@arm.com>
156
157	* plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
158
1592016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
160
161	Update copyrights.
162
1632016-04-18  Michael Matz  <matz@suse.de>
164
165	* plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
166
1672016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
168
169	PR bootstrap/70173
170	* Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
171	(compiler-name.h): Shorten recipe so that it fits the line.
172	* Makefile.in: Regenerate.
173
1742016-03-14  Andreas Schwab  <schwab@suse.de>
175
176	* configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
177	* configure: Regenerate.
178	* Makefile.in: Regenerate.
179
1802015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
181
182	* plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
183	rather than typed_free_remove.  Remove redudant typedefs.
184
1852015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
186
187	* plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
188	than typed_noop_remove.  Remove redudant typedefs.
189	(plugin_context): Use nofree_ptr_hash rather than pointer_hash.
190	(plugin_context::mark): Likewise.
191
1922015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
193
194	* Makefile.in: Regenerated with automake-1.11.6.
195	* aclocal.m4: Likewise.
196	* configure: Likewise.
197
1982015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
199
200	* plugin.cc: Adjust for hash_table changes.
201
2022015-04-15  Andreas Schwab  <schwab@suse.de>
203
204	PR bootstrap/65763
205	* Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
206	* Makefile.in: Regenerated.
207
2082015-01-30  Joseph Myers  <joseph@codesourcery.com>
209
210	* plugin.cc: All callers of fatal_error changed to pass
211	input_location as first argument.
212
2132015-01-09  Michael Collison  <michael.collison@linaro.org>
214
215	* plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
216	input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
217	due to flattening of tree.h.
218
2192014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
220
221	PR bootstrap/63784
222	* configure: Regenerated.
223
2242014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
225
226	* configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
227	* configure: Regenerate.
228	* connection.cc: Include <string.h>.
229	* libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
230
2312014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
232
233	PR target/63610
234	* configure: Regenerate.
235
2362014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
237
238	PR bootstrap/63699
239	PR bootstrap/63750
240	* plugin.cc: Don't include <string>.
241
2422014-10-29  Jakub Jelinek  <jakub@redhat.com>
243	    Phil Muldoon  <pmuldoon@redhat.com>
244
245	* configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
246	ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
247	* Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
248	(WERROR_FLAG): Remove.
249	(AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
250	* configure: Regenerated.
251	* Makefile.in: Regenerated.
252
2532014-10-29  Jakub Jelinek  <jakub@redhat.com>
254
255	* Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
256	(libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
257	New variables.
258	(libiberty): Set to -Wc, followed by the first existing noasan/,
259	pic/ or . libiberty.a.
260	(libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
261	libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
262	* Makefile.in: Regenerated.
263
2642014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
265	    Jan Kratochvil  <jan.kratochvil@redhat.com>
266	    Tom Tromey  <tromey@redhat.com>
267
268	* aclocal.m4: New file.
269	* callbacks.cc: New file.
270	* callbacks.hh: New file.
271	* cc1plugin-config.h.in: New file.
272	* configure: New file.
273	* configure.ac: New file.
274	* connection.cc: New file.
275	* connection.hh: New file.
276	* findcomp.cc: New file.
277	* findcomp.hh: New file.
278	* libcc1.cc: New file.
279	* libcc1plugin.sym: New file.
280	* libcc1.sym: New file.
281	* Makefile.am: New file.
282	* Makefile.in: New file.
283	* marshall.cc: New file.
284	* marshall.hh: New file.
285	* names.cc: New file.
286	* names.hh: New file.
287	* plugin.cc: New file.
288	* rpc.hh: New file.
289	* status.hh: New file.
290