linux-atomic.c (__kernel_cmpxchg): Change argument 1 to volatile void *.
[official-gcc.git] / libcc1 / ChangeLog
blobd65a0b22b06baa6c291d915aa334eacdd36a700a
1 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
3         * configure: Regenerate.
5 2019-05-21  Nathan Sidwell  <nathan@acm.org>
7         * libcp1plugin.cc (plugin_add_using_decl): Use
8         finish_nonmember_using_decl.
10 2019-05-20  Nathan Sidwell  <nathan@acm.org>
12         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
13         finish_using_directive.
15 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
17         Update copyright years.
19 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
21         * libcc1plugin.cc: Replace "source_location" with "location_t".
22         (plugin_context::get_source_location): Rename to...
23         (plugin_context::get_location_t): ...this.
24         * libcp1plugin.cc: Likewise.
26 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
28         PR bootstrap/82856
29         * configure.ac: Remove AC_PREREQ.
30         * Makefile.in, aclocal.m4, configure: Regenerate.
32 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
34         PR jit/85384
35         * configure: Regenerate.
37 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
39         Update copyright years.
41 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
43         * configure: Regenerate.
45 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
46             Pedro Alves  <palves@redhat.com>
48         * Makefile.am: Remove references to c-compiler-name.h and
49         cp-compiler-name.h
50         * Makefile.in: Regenerate.
51         * compiler-name.hh: New file.
52         * libcc1.cc: Don't include c-compiler-name.h.  Include
53         compiler-name.hh.
54         * libcp1.cc: Don't include cp-compiler-name.h.  Include
55         compiler-name.hh.
57 2017-11-01  Nathan Sidwell  <nathan@acm.org>
59         * libcp1plugin.cc (plugin_build_decl): Use
60         DECL_OVERLOADED_OPERATOR_CODE_RAW.
62 2017-10-31  Nathan Sidwell  <nathan@acm.org>
64         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
65         Directly set operator code.
66         (plugin_build_dependent_expr): Use ovl_op_identifier.
68 2017-10-04  Nathan Sidwell  <nathan@acm.org>
70         * libcp1plugin.cc (supplement_binding): Don't use
71         maybe_remove_implicit_alias.
73 2017-07-20  Nathan Sidwell  <nathan@acm.org>
75         Remove TYPE_METHODS.
76         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
78 2017-07-12  Nathan Sidwell  <nathan@acm.org>
80         * libcp1plugin.cc (plugin_build_decl): Use
81         DECL_CXX_{CON,DE}STRUCTOR directly.
83 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
85         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
87 2017-06-30  Nathan Sidwell  <nathan@acm.org>
89         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
90         (plugin_build_dependent_expr): Likewise.
92 2017-06-26  Nathan Sidwell  <nathan@acm.org>
94         * libcp1plugin.cc (plugin_build_decl): Don't set
95         DECL_ASSIGNMENT_OPERATOR_P.
97 2017-06-16  Nathan Sidwell  <nathan@acm.org>
99         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
101 2017-05-26  Nathan Sidwell  <nathan@acm.org>
103         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
105         * libcp1plugin.cc (plugin_add_using_namespace): Call
106         finish_namespace_using_directive.
108 2017-05-25  Nathan Sidwell  <nathan@acm.org>
110         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
111         DECL_NAMESPACE_INLINE_P.
113 2017-05-23  Nathan Sidwell  <nathan@acm.org>
115         * libcp1plugin.cc (plugin_add_using_decl): Call
116         finish_namespace_using_decl.  Use assert not unreachable.
118 2017-05-11  Nathan Sidwell  <nathan@acm.org>
120         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
122 2017-05-10  Nathan Sidwell  <nathan@acm.org>
124         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
126 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
128         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
130 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
132         Introduce C++ support.
133         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
134         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
135         new macros.
136         (plugin_LTLIBRARIES): Add libcp1plugin.la.
137         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
138         (cp-compiler-name.h): ... this.  New.
139         (c-compiler-name.h): Rename all over from...
140         (compiler-name.h): ... this.  Create it atomically.
141         (marshall_c_source, marshall_cxx_source): New macros.
142         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
143         Add marshall_c_source expansion.
144         (libcc1plugin.lo_CPPFLAGS): New macro.
145         (libcp1plugin_la_LDFLAGS): Likewise.
146         (libcp1plugin_la_SOURCES): Likewise.
147         (libcp1plugin.lo_CPPFLAGS): Likewise.
148         (libcp1plugin_la_LIBADD): Likewise.
149         (libcp1plugin_la_DEPENDENCIES): Likewise.
150         (libcp1plugin_la_LINK): Likewise.
151         (libcc1_la_SOURCES): Added marshall_c_source and
152         marshall_cxx_source expansions.
153         * Makefile.in: Rebuild.
154         * compiler-name.h: Rename all over to...
155         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
156         of COMPILER_NAME.
157         * plugin.cc: Rename all over to...
158         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
159         (address_rewriter): Drop cleaning up of VLA sizes.
160         (plugin_build_decl): Mark decls as external.
161         (plugin_tagbind): Propagate name to all variants.
162         (build_anonymous_node): New.
163         (plugin_build_record_type): Use it instead of make_node.
164         (plugin_build_union_type): Likewise.
165         (plugin_build_enum_type): Likewise.
166         (plugin_finish_record_or_union): Update all type variants.
167         (safe_lookup_builtin_type): New.
168         (plugin_int_check): Factor out of, and add checks to, ...
169         (plugin_int_type): ... this.  Rename to...
170         (plugin_int_type_v0): ... this.
171         (plugin_int_type): New interface, new implementation.
172         (plugin_char_type): New.
173         (plugin_float_type_v0): Rename from...
174         (plugin_float_type): ... this.  New interface, new implementation.
175         (plugin_init): Bump handshake version.
176         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
177         (call_binding_oracle): Rename to...
178         (c_call_binding_oracle): ... this, into anonymous namespace.
179         (call_symbol_address): Rename to...
180         (c_call_symbol_address): ... this, likewise.
181         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
182         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
183         (fork_exec): Bump to GCC_C_FE_VERSION_1.
184         (libcc1_compile): Prefix callbacks with c_.
185         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
186         * libcc1.sym: Export gcc_cp_fe_context.
187         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
188         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
189         * libcp1plugin.sym: New.
190         * marshall-c.hh: New.  Move C-specific types from...
191         * marshall.cc: ... this.
192         (cc1_plugin::marshall_array_start): New.
193         (cc1_plugin::marshall_array_elmts): New.
194         (cc1_plugin::marshall for gcc_type_array): Use the above.
195         (cc1_plugin::unmarshall_array_start): New.
196         (cc1_plugin::unmarshall_array_elmts): New.
197         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
198         * marshall.hh: Declare the new array building blocks.
199         Drop C-specific unmarshall declarations.
200         * marshall-cp.hh: New.
201         * names.cc (GCC_METHOD#): Add LANG:: to method names.
202         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
203         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
204         corresponding namespaces.
205         * rpc.hh: Don't include marshall.hh.
206         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
207         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
209 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
211         * findcomp.cc: Include system.h.
212         (search_dir): Return absolute filename.
214         * libcc1.cc (libcc1): Add class compiler with field compilerp,
215         class compiler_triplet_regexp and class
216         compiler_driver_filename.
217         (libcc1::libcc1): Initialize compilerp.
218         (libcc1::~libcc1): Delete compilerp.
219         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
220         (libcc1::compiler_driver_filename::find): New methods.
221         (libcc1_set_arguments): Remove parameter triplet_regexp.
222         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
223         (libcc1_set_arguments_v0): New functions.
224         (vtable): Use libcc1_set_arguments_v0, add
225         libcc1_set_arguments, libcc1_set_triplet_regexp and
226         libcc1_set_driver_filename.
228         * libcc1.cc: Include intl.h.
229         (struct libcc1): Add field verbose.
230         (libcc1::libcc1): Initialize it.
231         (libcc1_set_verbose): New function.
232         (libcc1_set_arguments): Print messages for VERBOSE.
233         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
234         SELF.
235         (libcc1_compile_v0): New function.
236         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
237         libcc1_set_verbose.
239         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
240         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
242 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
244         PR other/79046
245         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
246         use just major number from BASE-VER.
247         * configure: Regenerated.
248         * Makefile.in: Regenerated.
250 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
252         Update copyright years.
254 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
255             Alan Hayward  <alan.hayward@arm.com>
256             David Sherwood  <david.sherwood@arm.com>
258         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
260 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
262         Update copyrights.
264 2016-04-18  Michael Matz  <matz@suse.de>
266         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
268 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
270         PR bootstrap/70173
271         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
272         (compiler-name.h): Shorten recipe so that it fits the line.
273         * Makefile.in: Regenerate.
275 2016-03-14  Andreas Schwab  <schwab@suse.de>
277         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
278         * configure: Regenerate.
279         * Makefile.in: Regenerate.
281 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
283         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
284         rather than typed_free_remove.  Remove redudant typedefs.
286 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
288         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
289         than typed_noop_remove.  Remove redudant typedefs.
290         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
291         (plugin_context::mark): Likewise.
293 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
295         * Makefile.in: Regenerated with automake-1.11.6.
296         * aclocal.m4: Likewise.
297         * configure: Likewise.
299 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
301         * plugin.cc: Adjust for hash_table changes.
303 2015-04-15  Andreas Schwab  <schwab@suse.de>
305         PR bootstrap/65763
306         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
307         * Makefile.in: Regenerated.
309 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
311         * plugin.cc: All callers of fatal_error changed to pass
312         input_location as first argument.
314 2015-01-09  Michael Collison  <michael.collison@linaro.org>
316         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
317         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
318         due to flattening of tree.h.
320 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
322         PR bootstrap/63784
323         * configure: Regenerated.
325 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
327         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
328         * configure: Regenerate.
329         * connection.cc: Include <string.h>.
330         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
332 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
334         PR target/63610
335         * configure: Regenerate.
337 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
339         PR bootstrap/63699
340         PR bootstrap/63750
341         * plugin.cc: Don't include <string>.
343 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
344             Phil Muldoon  <pmuldoon@redhat.com>
346         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
347         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
348         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
349         (WERROR_FLAG): Remove.
350         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
351         * configure: Regenerated.
352         * Makefile.in: Regenerated.
354 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
356         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
357         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
358         New variables.
359         (libiberty): Set to -Wc, followed by the first existing noasan/,
360         pic/ or . libiberty.a.
361         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
362         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
363         * Makefile.in: Regenerated.
365 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
366             Jan Kratochvil  <jan.kratochvil@redhat.com>
367             Tom Tromey  <tromey@redhat.com>
369         * aclocal.m4: New file.
370         * callbacks.cc: New file.
371         * callbacks.hh: New file.
372         * cc1plugin-config.h.in: New file.
373         * configure: New file.
374         * configure.ac: New file.
375         * connection.cc: New file.
376         * connection.hh: New file.
377         * findcomp.cc: New file.
378         * findcomp.hh: New file.
379         * libcc1.cc: New file.
380         * libcc1plugin.sym: New file.
381         * libcc1.sym: New file.
382         * Makefile.am: New file.
383         * Makefile.in: New file.
384         * marshall.cc: New file.
385         * marshall.hh: New file.
386         * names.cc: New file.
387         * names.hh: New file.
388         * plugin.cc: New file.
389         * rpc.hh: New file.
390         * status.hh: New file.