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