Fix missing SCNuMAX defines in inttypes.h on hpux11.[01]*
[official-gcc.git] / libcc1 / ChangeLog
blobff994596200f5e33804804e4efe11ee22bd8b18c
1 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
3         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
5 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
7         Update copyright years.
9 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
11         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
12         call.
14 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
16         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
17         and cxx_sizeof_or_alignof_expr calls.
18         (plugin_build_unary_type_expr): Likewise for
19         cxx_sizeof_or_alignof_type.
21 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
23         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
24         declaration.
26 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
28         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
29         build_functional_cast call.
31 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
33         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
34         cp_build_indirect_ref call.
36 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
38         * configure: Regenerate.
40 2019-05-21  Nathan Sidwell  <nathan@acm.org>
42         * libcp1plugin.cc (plugin_add_using_decl): Use
43         finish_nonmember_using_decl.
45 2019-05-20  Nathan Sidwell  <nathan@acm.org>
47         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
48         finish_using_directive.
50 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
52         Update copyright years.
54 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
56         * libcc1plugin.cc: Replace "source_location" with "location_t".
57         (plugin_context::get_source_location): Rename to...
58         (plugin_context::get_location_t): ...this.
59         * libcp1plugin.cc: Likewise.
61 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
63         PR bootstrap/82856
64         * configure.ac: Remove AC_PREREQ.
65         * Makefile.in, aclocal.m4, configure: Regenerate.
67 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
69         PR jit/85384
70         * configure: Regenerate.
72 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
74         Update copyright years.
76 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
78         * configure: Regenerate.
80 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
81             Pedro Alves  <palves@redhat.com>
83         * Makefile.am: Remove references to c-compiler-name.h and
84         cp-compiler-name.h
85         * Makefile.in: Regenerate.
86         * compiler-name.hh: New file.
87         * libcc1.cc: Don't include c-compiler-name.h.  Include
88         compiler-name.hh.
89         * libcp1.cc: Don't include cp-compiler-name.h.  Include
90         compiler-name.hh.
92 2017-11-01  Nathan Sidwell  <nathan@acm.org>
94         * libcp1plugin.cc (plugin_build_decl): Use
95         DECL_OVERLOADED_OPERATOR_CODE_RAW.
97 2017-10-31  Nathan Sidwell  <nathan@acm.org>
99         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
100         Directly set operator code.
101         (plugin_build_dependent_expr): Use ovl_op_identifier.
103 2017-10-04  Nathan Sidwell  <nathan@acm.org>
105         * libcp1plugin.cc (supplement_binding): Don't use
106         maybe_remove_implicit_alias.
108 2017-07-20  Nathan Sidwell  <nathan@acm.org>
110         Remove TYPE_METHODS.
111         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
113 2017-07-12  Nathan Sidwell  <nathan@acm.org>
115         * libcp1plugin.cc (plugin_build_decl): Use
116         DECL_CXX_{CON,DE}STRUCTOR directly.
118 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
120         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
122 2017-06-30  Nathan Sidwell  <nathan@acm.org>
124         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
125         (plugin_build_dependent_expr): Likewise.
127 2017-06-26  Nathan Sidwell  <nathan@acm.org>
129         * libcp1plugin.cc (plugin_build_decl): Don't set
130         DECL_ASSIGNMENT_OPERATOR_P.
132 2017-06-16  Nathan Sidwell  <nathan@acm.org>
134         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
136 2017-05-26  Nathan Sidwell  <nathan@acm.org>
138         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
140         * libcp1plugin.cc (plugin_add_using_namespace): Call
141         finish_namespace_using_directive.
143 2017-05-25  Nathan Sidwell  <nathan@acm.org>
145         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
146         DECL_NAMESPACE_INLINE_P.
148 2017-05-23  Nathan Sidwell  <nathan@acm.org>
150         * libcp1plugin.cc (plugin_add_using_decl): Call
151         finish_namespace_using_decl.  Use assert not unreachable.
153 2017-05-11  Nathan Sidwell  <nathan@acm.org>
155         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
157 2017-05-10  Nathan Sidwell  <nathan@acm.org>
159         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
161 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
163         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
165 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
167         Introduce C++ support.
168         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
169         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
170         new macros.
171         (plugin_LTLIBRARIES): Add libcp1plugin.la.
172         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
173         (cp-compiler-name.h): ... this.  New.
174         (c-compiler-name.h): Rename all over from...
175         (compiler-name.h): ... this.  Create it atomically.
176         (marshall_c_source, marshall_cxx_source): New macros.
177         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
178         Add marshall_c_source expansion.
179         (libcc1plugin.lo_CPPFLAGS): New macro.
180         (libcp1plugin_la_LDFLAGS): Likewise.
181         (libcp1plugin_la_SOURCES): Likewise.
182         (libcp1plugin.lo_CPPFLAGS): Likewise.
183         (libcp1plugin_la_LIBADD): Likewise.
184         (libcp1plugin_la_DEPENDENCIES): Likewise.
185         (libcp1plugin_la_LINK): Likewise.
186         (libcc1_la_SOURCES): Added marshall_c_source and
187         marshall_cxx_source expansions.
188         * Makefile.in: Rebuild.
189         * compiler-name.h: Rename all over to...
190         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
191         of COMPILER_NAME.
192         * plugin.cc: Rename all over to...
193         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
194         (address_rewriter): Drop cleaning up of VLA sizes.
195         (plugin_build_decl): Mark decls as external.
196         (plugin_tagbind): Propagate name to all variants.
197         (build_anonymous_node): New.
198         (plugin_build_record_type): Use it instead of make_node.
199         (plugin_build_union_type): Likewise.
200         (plugin_build_enum_type): Likewise.
201         (plugin_finish_record_or_union): Update all type variants.
202         (safe_lookup_builtin_type): New.
203         (plugin_int_check): Factor out of, and add checks to, ...
204         (plugin_int_type): ... this.  Rename to...
205         (plugin_int_type_v0): ... this.
206         (plugin_int_type): New interface, new implementation.
207         (plugin_char_type): New.
208         (plugin_float_type_v0): Rename from...
209         (plugin_float_type): ... this.  New interface, new implementation.
210         (plugin_init): Bump handshake version.
211         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
212         (call_binding_oracle): Rename to...
213         (c_call_binding_oracle): ... this, into anonymous namespace.
214         (call_symbol_address): Rename to...
215         (c_call_symbol_address): ... this, likewise.
216         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
217         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
218         (fork_exec): Bump to GCC_C_FE_VERSION_1.
219         (libcc1_compile): Prefix callbacks with c_.
220         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
221         * libcc1.sym: Export gcc_cp_fe_context.
222         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
223         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
224         * libcp1plugin.sym: New.
225         * marshall-c.hh: New.  Move C-specific types from...
226         * marshall.cc: ... this.
227         (cc1_plugin::marshall_array_start): New.
228         (cc1_plugin::marshall_array_elmts): New.
229         (cc1_plugin::marshall for gcc_type_array): Use the above.
230         (cc1_plugin::unmarshall_array_start): New.
231         (cc1_plugin::unmarshall_array_elmts): New.
232         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
233         * marshall.hh: Declare the new array building blocks.
234         Drop C-specific unmarshall declarations.
235         * marshall-cp.hh: New.
236         * names.cc (GCC_METHOD#): Add LANG:: to method names.
237         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
238         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
239         corresponding namespaces.
240         * rpc.hh: Don't include marshall.hh.
241         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
242         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
244 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
246         * findcomp.cc: Include system.h.
247         (search_dir): Return absolute filename.
249         * libcc1.cc (libcc1): Add class compiler with field compilerp,
250         class compiler_triplet_regexp and class
251         compiler_driver_filename.
252         (libcc1::libcc1): Initialize compilerp.
253         (libcc1::~libcc1): Delete compilerp.
254         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
255         (libcc1::compiler_driver_filename::find): New methods.
256         (libcc1_set_arguments): Remove parameter triplet_regexp.
257         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
258         (libcc1_set_arguments_v0): New functions.
259         (vtable): Use libcc1_set_arguments_v0, add
260         libcc1_set_arguments, libcc1_set_triplet_regexp and
261         libcc1_set_driver_filename.
263         * libcc1.cc: Include intl.h.
264         (struct libcc1): Add field verbose.
265         (libcc1::libcc1): Initialize it.
266         (libcc1_set_verbose): New function.
267         (libcc1_set_arguments): Print messages for VERBOSE.
268         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
269         SELF.
270         (libcc1_compile_v0): New function.
271         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
272         libcc1_set_verbose.
274         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
275         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
277 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
279         PR other/79046
280         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
281         use just major number from BASE-VER.
282         * configure: Regenerated.
283         * Makefile.in: Regenerated.
285 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
287         Update copyright years.
289 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
290             Alan Hayward  <alan.hayward@arm.com>
291             David Sherwood  <david.sherwood@arm.com>
293         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
295 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
297         Update copyrights.
299 2016-04-18  Michael Matz  <matz@suse.de>
301         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
303 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
305         PR bootstrap/70173
306         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
307         (compiler-name.h): Shorten recipe so that it fits the line.
308         * Makefile.in: Regenerate.
310 2016-03-14  Andreas Schwab  <schwab@suse.de>
312         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
313         * configure: Regenerate.
314         * Makefile.in: Regenerate.
316 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
318         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
319         rather than typed_free_remove.  Remove redudant typedefs.
321 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
323         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
324         than typed_noop_remove.  Remove redudant typedefs.
325         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
326         (plugin_context::mark): Likewise.
328 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
330         * Makefile.in: Regenerated with automake-1.11.6.
331         * aclocal.m4: Likewise.
332         * configure: Likewise.
334 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
336         * plugin.cc: Adjust for hash_table changes.
338 2015-04-15  Andreas Schwab  <schwab@suse.de>
340         PR bootstrap/65763
341         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
342         * Makefile.in: Regenerated.
344 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
346         * plugin.cc: All callers of fatal_error changed to pass
347         input_location as first argument.
349 2015-01-09  Michael Collison  <michael.collison@linaro.org>
351         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
352         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
353         due to flattening of tree.h.
355 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
357         PR bootstrap/63784
358         * configure: Regenerated.
360 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
362         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
363         * configure: Regenerate.
364         * connection.cc: Include <string.h>.
365         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
367 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
369         PR target/63610
370         * configure: Regenerate.
372 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
374         PR bootstrap/63699
375         PR bootstrap/63750
376         * plugin.cc: Don't include <string>.
378 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
379             Phil Muldoon  <pmuldoon@redhat.com>
381         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
382         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
383         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
384         (WERROR_FLAG): Remove.
385         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
386         * configure: Regenerated.
387         * Makefile.in: Regenerated.
389 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
391         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
392         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
393         New variables.
394         (libiberty): Set to -Wc, followed by the first existing noasan/,
395         pic/ or . libiberty.a.
396         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
397         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
398         * Makefile.in: Regenerated.
400 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
401             Jan Kratochvil  <jan.kratochvil@redhat.com>
402             Tom Tromey  <tromey@redhat.com>
404         * aclocal.m4: New file.
405         * callbacks.cc: New file.
406         * callbacks.hh: New file.
407         * cc1plugin-config.h.in: New file.
408         * configure: New file.
409         * configure.ac: New file.
410         * connection.cc: New file.
411         * connection.hh: New file.
412         * findcomp.cc: New file.
413         * findcomp.hh: New file.
414         * libcc1.cc: New file.
415         * libcc1plugin.sym: New file.
416         * libcc1.sym: New file.
417         * Makefile.am: New file.
418         * Makefile.in: New file.
419         * marshall.cc: New file.
420         * marshall.hh: New file.
421         * names.cc: New file.
422         * names.hh: New file.
423         * plugin.cc: New file.
424         * rpc.hh: New file.
425         * status.hh: New file.