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