Fix ifunc detection in target-supports.exp file.
[official-gcc.git] / libcc1 / ChangeLog
blobdee8441dc0a7d174c3f0d24c2174d5be892ab81c
1 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3         Update copyright years.
5 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
7         * configure: Regenerate.
9 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
10             Pedro Alves  <palves@redhat.com>
12         * Makefile.am: Remove references to c-compiler-name.h and
13         cp-compiler-name.h
14         * Makefile.in: Regenerate.
15         * compiler-name.hh: New file.
16         * libcc1.cc: Don't include c-compiler-name.h.  Include
17         compiler-name.hh.
18         * libcp1.cc: Don't include cp-compiler-name.h.  Include
19         compiler-name.hh.
21 2017-11-01  Nathan Sidwell  <nathan@acm.org>
23         * libcp1plugin.cc (plugin_build_decl): Use
24         DECL_OVERLOADED_OPERATOR_CODE_RAW.
26 2017-10-31  Nathan Sidwell  <nathan@acm.org>
28         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
29         Directly set operator code.
30         (plugin_build_dependent_expr): Use ovl_op_identifier.
32 2017-10-04  Nathan Sidwell  <nathan@acm.org>
34         * libcp1plugin.cc (supplement_binding): Don't use
35         maybe_remove_implicit_alias.
37 2017-07-20  Nathan Sidwell  <nathan@acm.org>
39         Remove TYPE_METHODS.
40         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
42 2017-07-12  Nathan Sidwell  <nathan@acm.org>
44         * libcp1plugin.cc (plugin_build_decl): Use
45         DECL_CXX_{CON,DE}STRUCTOR directly.
47 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
49         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
51 2017-06-30  Nathan Sidwell  <nathan@acm.org>
53         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
54         (plugin_build_dependent_expr): Likewise.
56 2017-06-26  Nathan Sidwell  <nathan@acm.org>
58         * libcp1plugin.cc (plugin_build_decl): Don't set
59         DECL_ASSIGNMENT_OPERATOR_P.
61 2017-06-16  Nathan Sidwell  <nathan@acm.org>
63         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
65 2017-05-26  Nathan Sidwell  <nathan@acm.org>
67         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
69         * libcp1plugin.cc (plugin_add_using_namespace): Call
70         finish_namespace_using_directive.
72 2017-05-25  Nathan Sidwell  <nathan@acm.org>
74         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
75         DECL_NAMESPACE_INLINE_P.
77 2017-05-23  Nathan Sidwell  <nathan@acm.org>
79         * libcp1plugin.cc (plugin_add_using_decl): Call
80         finish_namespace_using_decl.  Use assert not unreachable.
82 2017-05-11  Nathan Sidwell  <nathan@acm.org>
84         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
86 2017-05-10  Nathan Sidwell  <nathan@acm.org>
88         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
90 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
92         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
94 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
96         Introduce C++ support.
97         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
98         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
99         new macros.
100         (plugin_LTLIBRARIES): Add libcp1plugin.la.
101         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
102         (cp-compiler-name.h): ... this.  New.
103         (c-compiler-name.h): Rename all over from...
104         (compiler-name.h): ... this.  Create it atomically.
105         (marshall_c_source, marshall_cxx_source): New macros.
106         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
107         Add marshall_c_source expansion.
108         (libcc1plugin.lo_CPPFLAGS): New macro.
109         (libcp1plugin_la_LDFLAGS): Likewise.
110         (libcp1plugin_la_SOURCES): Likewise.
111         (libcp1plugin.lo_CPPFLAGS): Likewise.
112         (libcp1plugin_la_LIBADD): Likewise.
113         (libcp1plugin_la_DEPENDENCIES): Likewise.
114         (libcp1plugin_la_LINK): Likewise.
115         (libcc1_la_SOURCES): Added marshall_c_source and
116         marshall_cxx_source expansions.
117         * Makefile.in: Rebuild.
118         * compiler-name.h: Rename all over to...
119         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
120         of COMPILER_NAME.
121         * plugin.cc: Rename all over to...
122         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
123         (address_rewriter): Drop cleaning up of VLA sizes.
124         (plugin_build_decl): Mark decls as external.
125         (plugin_tagbind): Propagate name to all variants.
126         (build_anonymous_node): New.
127         (plugin_build_record_type): Use it instead of make_node.
128         (plugin_build_union_type): Likewise.
129         (plugin_build_enum_type): Likewise.
130         (plugin_finish_record_or_union): Update all type variants.
131         (safe_lookup_builtin_type): New.
132         (plugin_int_check): Factor out of, and add checks to, ...
133         (plugin_int_type): ... this.  Rename to...
134         (plugin_int_type_v0): ... this.
135         (plugin_int_type): New interface, new implementation.
136         (plugin_char_type): New.
137         (plugin_float_type_v0): Rename from...
138         (plugin_float_type): ... this.  New interface, new implementation.
139         (plugin_init): Bump handshake version.
140         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
141         (call_binding_oracle): Rename to...
142         (c_call_binding_oracle): ... this, into anonymous namespace.
143         (call_symbol_address): Rename to...
144         (c_call_symbol_address): ... this, likewise.
145         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
146         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
147         (fork_exec): Bump to GCC_C_FE_VERSION_1.
148         (libcc1_compile): Prefix callbacks with c_.
149         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
150         * libcc1.sym: Export gcc_cp_fe_context.
151         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
152         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
153         * libcp1plugin.sym: New.
154         * marshall-c.hh: New.  Move C-specific types from...
155         * marshall.cc: ... this.
156         (cc1_plugin::marshall_array_start): New.
157         (cc1_plugin::marshall_array_elmts): New.
158         (cc1_plugin::marshall for gcc_type_array): Use the above.
159         (cc1_plugin::unmarshall_array_start): New.
160         (cc1_plugin::unmarshall_array_elmts): New.
161         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
162         * marshall.hh: Declare the new array building blocks.
163         Drop C-specific unmarshall declarations.
164         * marshall-cp.hh: New.
165         * names.cc (GCC_METHOD#): Add LANG:: to method names.
166         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
167         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
168         corresponding namespaces.
169         * rpc.hh: Don't include marshall.hh.
170         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
171         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
173 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
175         * findcomp.cc: Include system.h.
176         (search_dir): Return absolute filename.
178         * libcc1.cc (libcc1): Add class compiler with field compilerp,
179         class compiler_triplet_regexp and class
180         compiler_driver_filename.
181         (libcc1::libcc1): Initialize compilerp.
182         (libcc1::~libcc1): Delete compilerp.
183         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
184         (libcc1::compiler_driver_filename::find): New methods.
185         (libcc1_set_arguments): Remove parameter triplet_regexp.
186         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
187         (libcc1_set_arguments_v0): New functions.
188         (vtable): Use libcc1_set_arguments_v0, add
189         libcc1_set_arguments, libcc1_set_triplet_regexp and
190         libcc1_set_driver_filename.
192         * libcc1.cc: Include intl.h.
193         (struct libcc1): Add field verbose.
194         (libcc1::libcc1): Initialize it.
195         (libcc1_set_verbose): New function.
196         (libcc1_set_arguments): Print messages for VERBOSE.
197         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
198         SELF.
199         (libcc1_compile_v0): New function.
200         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
201         libcc1_set_verbose.
203         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
204         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
206 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
208         PR other/79046
209         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
210         use just major number from BASE-VER.
211         * configure: Regenerated.
212         * Makefile.in: Regenerated.
214 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
216         Update copyright years.
218 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
219             Alan Hayward  <alan.hayward@arm.com>
220             David Sherwood  <david.sherwood@arm.com>
222         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
224 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
226         Update copyrights.
228 2016-04-18  Michael Matz  <matz@suse.de>
230         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
232 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
234         PR bootstrap/70173
235         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
236         (compiler-name.h): Shorten recipe so that it fits the line.
237         * Makefile.in: Regenerate.
239 2016-03-14  Andreas Schwab  <schwab@suse.de>
241         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
242         * configure: Regenerate.
243         * Makefile.in: Regenerate.
245 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
247         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
248         rather than typed_free_remove.  Remove redudant typedefs.
250 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
252         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
253         than typed_noop_remove.  Remove redudant typedefs.
254         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
255         (plugin_context::mark): Likewise.
257 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
259         * Makefile.in: Regenerated with automake-1.11.6.
260         * aclocal.m4: Likewise.
261         * configure: Likewise.
263 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
265         * plugin.cc: Adjust for hash_table changes.
267 2015-04-15  Andreas Schwab  <schwab@suse.de>
269         PR bootstrap/65763
270         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
271         * Makefile.in: Regenerated.
273 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
275         * plugin.cc: All callers of fatal_error changed to pass
276         input_location as first argument.
278 2015-01-09  Michael Collison  <michael.collison@linaro.org>
280         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
281         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
282         due to flattening of tree.h.
284 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
286         PR bootstrap/63784
287         * configure: Regenerated.
289 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
291         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
292         * configure: Regenerate.
293         * connection.cc: Include <string.h>.
294         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
296 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
298         PR target/63610
299         * configure: Regenerate.
301 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
303         PR bootstrap/63699
304         PR bootstrap/63750
305         * plugin.cc: Don't include <string>.
307 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
308             Phil Muldoon  <pmuldoon@redhat.com>
310         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
311         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
312         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
313         (WERROR_FLAG): Remove.
314         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
315         * configure: Regenerated.
316         * Makefile.in: Regenerated.
318 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
320         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
321         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
322         New variables.
323         (libiberty): Set to -Wc, followed by the first existing noasan/,
324         pic/ or . libiberty.a.
325         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
326         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
327         * Makefile.in: Regenerated.
329 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
330             Jan Kratochvil  <jan.kratochvil@redhat.com>
331             Tom Tromey  <tromey@redhat.com>
333         * aclocal.m4: New file.
334         * callbacks.cc: New file.
335         * callbacks.hh: New file.
336         * cc1plugin-config.h.in: New file.
337         * configure: New file.
338         * configure.ac: New file.
339         * connection.cc: New file.
340         * connection.hh: New file.
341         * findcomp.cc: New file.
342         * findcomp.hh: New file.
343         * libcc1.cc: New file.
344         * libcc1plugin.sym: New file.
345         * libcc1.sym: New file.
346         * Makefile.am: New file.
347         * Makefile.in: New file.
348         * marshall.cc: New file.
349         * marshall.hh: New file.
350         * names.cc: New file.
351         * names.hh: New file.
352         * plugin.cc: New file.
353         * rpc.hh: New file.
354         * status.hh: New file.