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