libcpp, libdecnumber: configure and substitute AR
[official-gcc.git] / libcc1 / ChangeLog
blob24d324629e9588220b2e75330bd2d965b7622ada
1 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3         * configure: Regenerated.
5 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
7         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
8         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
9         AC_SUBST(CET_HOST_FLAGS).
10         * Makefile.in: Regenerated.
11         * aclocal.m4: Likewise.
12         * configure: Likewise.
14 2020-02-12  Patrick Palka  <ppalka@redhat.com>
16         PR c++/69448
17         PR c++/80471
18         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
19         AUTO_IS_DECLTYPE anymore.
21 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
23         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
25 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
27         Update copyright years.
29 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
31         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
32         call.
34 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
36         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
37         and cxx_sizeof_or_alignof_expr calls.
38         (plugin_build_unary_type_expr): Likewise for
39         cxx_sizeof_or_alignof_type.
41 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
43         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
44         declaration.
46 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
48         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
49         build_functional_cast call.
51 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
53         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
54         cp_build_indirect_ref call.
56 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
58         * configure: Regenerate.
60 2019-05-21  Nathan Sidwell  <nathan@acm.org>
62         * libcp1plugin.cc (plugin_add_using_decl): Use
63         finish_nonmember_using_decl.
65 2019-05-20  Nathan Sidwell  <nathan@acm.org>
67         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
68         finish_using_directive.
70 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
72         Update copyright years.
74 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
76         * libcc1plugin.cc: Replace "source_location" with "location_t".
77         (plugin_context::get_source_location): Rename to...
78         (plugin_context::get_location_t): ...this.
79         * libcp1plugin.cc: Likewise.
81 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
83         PR bootstrap/82856
84         * configure.ac: Remove AC_PREREQ.
85         * Makefile.in, aclocal.m4, configure: Regenerate.
87 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
89         PR jit/85384
90         * configure: Regenerate.
92 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
94         Update copyright years.
96 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
98         * configure: Regenerate.
100 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
101             Pedro Alves  <palves@redhat.com>
103         * Makefile.am: Remove references to c-compiler-name.h and
104         cp-compiler-name.h
105         * Makefile.in: Regenerate.
106         * compiler-name.hh: New file.
107         * libcc1.cc: Don't include c-compiler-name.h.  Include
108         compiler-name.hh.
109         * libcp1.cc: Don't include cp-compiler-name.h.  Include
110         compiler-name.hh.
112 2017-11-01  Nathan Sidwell  <nathan@acm.org>
114         * libcp1plugin.cc (plugin_build_decl): Use
115         DECL_OVERLOADED_OPERATOR_CODE_RAW.
117 2017-10-31  Nathan Sidwell  <nathan@acm.org>
119         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
120         Directly set operator code.
121         (plugin_build_dependent_expr): Use ovl_op_identifier.
123 2017-10-04  Nathan Sidwell  <nathan@acm.org>
125         * libcp1plugin.cc (supplement_binding): Don't use
126         maybe_remove_implicit_alias.
128 2017-07-20  Nathan Sidwell  <nathan@acm.org>
130         Remove TYPE_METHODS.
131         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
133 2017-07-12  Nathan Sidwell  <nathan@acm.org>
135         * libcp1plugin.cc (plugin_build_decl): Use
136         DECL_CXX_{CON,DE}STRUCTOR directly.
138 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
140         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
142 2017-06-30  Nathan Sidwell  <nathan@acm.org>
144         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
145         (plugin_build_dependent_expr): Likewise.
147 2017-06-26  Nathan Sidwell  <nathan@acm.org>
149         * libcp1plugin.cc (plugin_build_decl): Don't set
150         DECL_ASSIGNMENT_OPERATOR_P.
152 2017-06-16  Nathan Sidwell  <nathan@acm.org>
154         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
156 2017-05-26  Nathan Sidwell  <nathan@acm.org>
158         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
160         * libcp1plugin.cc (plugin_add_using_namespace): Call
161         finish_namespace_using_directive.
163 2017-05-25  Nathan Sidwell  <nathan@acm.org>
165         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
166         DECL_NAMESPACE_INLINE_P.
168 2017-05-23  Nathan Sidwell  <nathan@acm.org>
170         * libcp1plugin.cc (plugin_add_using_decl): Call
171         finish_namespace_using_decl.  Use assert not unreachable.
173 2017-05-11  Nathan Sidwell  <nathan@acm.org>
175         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
177 2017-05-10  Nathan Sidwell  <nathan@acm.org>
179         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
181 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
183         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
185 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
187         Introduce C++ support.
188         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
189         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
190         new macros.
191         (plugin_LTLIBRARIES): Add libcp1plugin.la.
192         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
193         (cp-compiler-name.h): ... this.  New.
194         (c-compiler-name.h): Rename all over from...
195         (compiler-name.h): ... this.  Create it atomically.
196         (marshall_c_source, marshall_cxx_source): New macros.
197         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
198         Add marshall_c_source expansion.
199         (libcc1plugin.lo_CPPFLAGS): New macro.
200         (libcp1plugin_la_LDFLAGS): Likewise.
201         (libcp1plugin_la_SOURCES): Likewise.
202         (libcp1plugin.lo_CPPFLAGS): Likewise.
203         (libcp1plugin_la_LIBADD): Likewise.
204         (libcp1plugin_la_DEPENDENCIES): Likewise.
205         (libcp1plugin_la_LINK): Likewise.
206         (libcc1_la_SOURCES): Added marshall_c_source and
207         marshall_cxx_source expansions.
208         * Makefile.in: Rebuild.
209         * compiler-name.h: Rename all over to...
210         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
211         of COMPILER_NAME.
212         * plugin.cc: Rename all over to...
213         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
214         (address_rewriter): Drop cleaning up of VLA sizes.
215         (plugin_build_decl): Mark decls as external.
216         (plugin_tagbind): Propagate name to all variants.
217         (build_anonymous_node): New.
218         (plugin_build_record_type): Use it instead of make_node.
219         (plugin_build_union_type): Likewise.
220         (plugin_build_enum_type): Likewise.
221         (plugin_finish_record_or_union): Update all type variants.
222         (safe_lookup_builtin_type): New.
223         (plugin_int_check): Factor out of, and add checks to, ...
224         (plugin_int_type): ... this.  Rename to...
225         (plugin_int_type_v0): ... this.
226         (plugin_int_type): New interface, new implementation.
227         (plugin_char_type): New.
228         (plugin_float_type_v0): Rename from...
229         (plugin_float_type): ... this.  New interface, new implementation.
230         (plugin_init): Bump handshake version.
231         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
232         (call_binding_oracle): Rename to...
233         (c_call_binding_oracle): ... this, into anonymous namespace.
234         (call_symbol_address): Rename to...
235         (c_call_symbol_address): ... this, likewise.
236         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
237         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
238         (fork_exec): Bump to GCC_C_FE_VERSION_1.
239         (libcc1_compile): Prefix callbacks with c_.
240         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
241         * libcc1.sym: Export gcc_cp_fe_context.
242         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
243         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
244         * libcp1plugin.sym: New.
245         * marshall-c.hh: New.  Move C-specific types from...
246         * marshall.cc: ... this.
247         (cc1_plugin::marshall_array_start): New.
248         (cc1_plugin::marshall_array_elmts): New.
249         (cc1_plugin::marshall for gcc_type_array): Use the above.
250         (cc1_plugin::unmarshall_array_start): New.
251         (cc1_plugin::unmarshall_array_elmts): New.
252         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
253         * marshall.hh: Declare the new array building blocks.
254         Drop C-specific unmarshall declarations.
255         * marshall-cp.hh: New.
256         * names.cc (GCC_METHOD#): Add LANG:: to method names.
257         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
258         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
259         corresponding namespaces.
260         * rpc.hh: Don't include marshall.hh.
261         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
262         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
264 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
266         * findcomp.cc: Include system.h.
267         (search_dir): Return absolute filename.
269         * libcc1.cc (libcc1): Add class compiler with field compilerp,
270         class compiler_triplet_regexp and class
271         compiler_driver_filename.
272         (libcc1::libcc1): Initialize compilerp.
273         (libcc1::~libcc1): Delete compilerp.
274         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
275         (libcc1::compiler_driver_filename::find): New methods.
276         (libcc1_set_arguments): Remove parameter triplet_regexp.
277         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
278         (libcc1_set_arguments_v0): New functions.
279         (vtable): Use libcc1_set_arguments_v0, add
280         libcc1_set_arguments, libcc1_set_triplet_regexp and
281         libcc1_set_driver_filename.
283         * libcc1.cc: Include intl.h.
284         (struct libcc1): Add field verbose.
285         (libcc1::libcc1): Initialize it.
286         (libcc1_set_verbose): New function.
287         (libcc1_set_arguments): Print messages for VERBOSE.
288         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
289         SELF.
290         (libcc1_compile_v0): New function.
291         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
292         libcc1_set_verbose.
294         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
295         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
297 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
299         PR other/79046
300         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
301         use just major number from BASE-VER.
302         * configure: Regenerated.
303         * Makefile.in: Regenerated.
305 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
307         Update copyright years.
309 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
310             Alan Hayward  <alan.hayward@arm.com>
311             David Sherwood  <david.sherwood@arm.com>
313         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
315 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
317         Update copyrights.
319 2016-04-18  Michael Matz  <matz@suse.de>
321         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
323 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
325         PR bootstrap/70173
326         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
327         (compiler-name.h): Shorten recipe so that it fits the line.
328         * Makefile.in: Regenerate.
330 2016-03-14  Andreas Schwab  <schwab@suse.de>
332         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
333         * configure: Regenerate.
334         * Makefile.in: Regenerate.
336 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
338         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
339         rather than typed_free_remove.  Remove redudant typedefs.
341 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
343         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
344         than typed_noop_remove.  Remove redudant typedefs.
345         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
346         (plugin_context::mark): Likewise.
348 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
350         * Makefile.in: Regenerated with automake-1.11.6.
351         * aclocal.m4: Likewise.
352         * configure: Likewise.
354 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
356         * plugin.cc: Adjust for hash_table changes.
358 2015-04-15  Andreas Schwab  <schwab@suse.de>
360         PR bootstrap/65763
361         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
362         * Makefile.in: Regenerated.
364 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
366         * plugin.cc: All callers of fatal_error changed to pass
367         input_location as first argument.
369 2015-01-09  Michael Collison  <michael.collison@linaro.org>
371         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
372         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
373         due to flattening of tree.h.
375 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
377         PR bootstrap/63784
378         * configure: Regenerated.
380 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
382         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
383         * configure: Regenerate.
384         * connection.cc: Include <string.h>.
385         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
387 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
389         PR target/63610
390         * configure: Regenerate.
392 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
394         PR bootstrap/63699
395         PR bootstrap/63750
396         * plugin.cc: Don't include <string>.
398 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
399             Phil Muldoon  <pmuldoon@redhat.com>
401         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
402         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
403         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
404         (WERROR_FLAG): Remove.
405         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
406         * configure: Regenerated.
407         * Makefile.in: Regenerated.
409 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
411         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
412         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
413         New variables.
414         (libiberty): Set to -Wc, followed by the first existing noasan/,
415         pic/ or . libiberty.a.
416         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
417         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
418         * Makefile.in: Regenerated.
420 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
421             Jan Kratochvil  <jan.kratochvil@redhat.com>
422             Tom Tromey  <tromey@redhat.com>
424         * aclocal.m4: New file.
425         * callbacks.cc: New file.
426         * callbacks.hh: New file.
427         * cc1plugin-config.h.in: New file.
428         * configure: New file.
429         * configure.ac: New file.
430         * connection.cc: New file.
431         * connection.hh: New file.
432         * findcomp.cc: New file.
433         * findcomp.hh: New file.
434         * libcc1.cc: New file.
435         * libcc1plugin.sym: New file.
436         * libcc1.sym: New file.
437         * Makefile.am: New file.
438         * Makefile.in: New file.
439         * marshall.cc: New file.
440         * marshall.hh: New file.
441         * names.cc: New file.
442         * names.hh: New file.
443         * plugin.cc: New file.
444         * rpc.hh: New file.
445         * status.hh: New file.