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