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