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