Introduce flag_cunroll_grow_size for cunroll
[official-gcc.git] / libcc1 / ChangeLog
blobe5a2e56508ecf8c9916c8b440f6189987a9e59f5
1 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
3         PR bootstrap/95413
4         * configure: Regenerated.
6 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8         * configure: Regenerated.
10 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
12         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
13         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
14         AC_SUBST(CET_HOST_FLAGS).
15         * Makefile.in: Regenerated.
16         * aclocal.m4: Likewise.
17         * configure: Likewise.
19 2020-02-12  Patrick Palka  <ppalka@redhat.com>
21         PR c++/69448
22         PR c++/80471
23         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
24         AUTO_IS_DECLTYPE anymore.
26 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
28         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
30 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
32         Update copyright years.
34 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
36         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
37         call.
39 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
41         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
42         and cxx_sizeof_or_alignof_expr calls.
43         (plugin_build_unary_type_expr): Likewise for
44         cxx_sizeof_or_alignof_type.
46 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
48         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
49         declaration.
51 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
53         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
54         build_functional_cast call.
56 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
58         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
59         cp_build_indirect_ref call.
61 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
63         * configure: Regenerate.
65 2019-05-21  Nathan Sidwell  <nathan@acm.org>
67         * libcp1plugin.cc (plugin_add_using_decl): Use
68         finish_nonmember_using_decl.
70 2019-05-20  Nathan Sidwell  <nathan@acm.org>
72         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
73         finish_using_directive.
75 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
77         Update copyright years.
79 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
81         * libcc1plugin.cc: Replace "source_location" with "location_t".
82         (plugin_context::get_source_location): Rename to...
83         (plugin_context::get_location_t): ...this.
84         * libcp1plugin.cc: Likewise.
86 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
88         PR bootstrap/82856
89         * configure.ac: Remove AC_PREREQ.
90         * Makefile.in, aclocal.m4, configure: Regenerate.
92 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
94         PR jit/85384
95         * configure: Regenerate.
97 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
99         Update copyright years.
101 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
103         * configure: Regenerate.
105 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
106             Pedro Alves  <palves@redhat.com>
108         * Makefile.am: Remove references to c-compiler-name.h and
109         cp-compiler-name.h
110         * Makefile.in: Regenerate.
111         * compiler-name.hh: New file.
112         * libcc1.cc: Don't include c-compiler-name.h.  Include
113         compiler-name.hh.
114         * libcp1.cc: Don't include cp-compiler-name.h.  Include
115         compiler-name.hh.
117 2017-11-01  Nathan Sidwell  <nathan@acm.org>
119         * libcp1plugin.cc (plugin_build_decl): Use
120         DECL_OVERLOADED_OPERATOR_CODE_RAW.
122 2017-10-31  Nathan Sidwell  <nathan@acm.org>
124         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
125         Directly set operator code.
126         (plugin_build_dependent_expr): Use ovl_op_identifier.
128 2017-10-04  Nathan Sidwell  <nathan@acm.org>
130         * libcp1plugin.cc (supplement_binding): Don't use
131         maybe_remove_implicit_alias.
133 2017-07-20  Nathan Sidwell  <nathan@acm.org>
135         Remove TYPE_METHODS.
136         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
138 2017-07-12  Nathan Sidwell  <nathan@acm.org>
140         * libcp1plugin.cc (plugin_build_decl): Use
141         DECL_CXX_{CON,DE}STRUCTOR directly.
143 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
145         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
147 2017-06-30  Nathan Sidwell  <nathan@acm.org>
149         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
150         (plugin_build_dependent_expr): Likewise.
152 2017-06-26  Nathan Sidwell  <nathan@acm.org>
154         * libcp1plugin.cc (plugin_build_decl): Don't set
155         DECL_ASSIGNMENT_OPERATOR_P.
157 2017-06-16  Nathan Sidwell  <nathan@acm.org>
159         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
161 2017-05-26  Nathan Sidwell  <nathan@acm.org>
163         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
165         * libcp1plugin.cc (plugin_add_using_namespace): Call
166         finish_namespace_using_directive.
168 2017-05-25  Nathan Sidwell  <nathan@acm.org>
170         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
171         DECL_NAMESPACE_INLINE_P.
173 2017-05-23  Nathan Sidwell  <nathan@acm.org>
175         * libcp1plugin.cc (plugin_add_using_decl): Call
176         finish_namespace_using_decl.  Use assert not unreachable.
178 2017-05-11  Nathan Sidwell  <nathan@acm.org>
180         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
182 2017-05-10  Nathan Sidwell  <nathan@acm.org>
184         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
186 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
188         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
190 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
192         Introduce C++ support.
193         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
194         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
195         new macros.
196         (plugin_LTLIBRARIES): Add libcp1plugin.la.
197         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
198         (cp-compiler-name.h): ... this.  New.
199         (c-compiler-name.h): Rename all over from...
200         (compiler-name.h): ... this.  Create it atomically.
201         (marshall_c_source, marshall_cxx_source): New macros.
202         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
203         Add marshall_c_source expansion.
204         (libcc1plugin.lo_CPPFLAGS): New macro.
205         (libcp1plugin_la_LDFLAGS): Likewise.
206         (libcp1plugin_la_SOURCES): Likewise.
207         (libcp1plugin.lo_CPPFLAGS): Likewise.
208         (libcp1plugin_la_LIBADD): Likewise.
209         (libcp1plugin_la_DEPENDENCIES): Likewise.
210         (libcp1plugin_la_LINK): Likewise.
211         (libcc1_la_SOURCES): Added marshall_c_source and
212         marshall_cxx_source expansions.
213         * Makefile.in: Rebuild.
214         * compiler-name.h: Rename all over to...
215         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
216         of COMPILER_NAME.
217         * plugin.cc: Rename all over to...
218         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
219         (address_rewriter): Drop cleaning up of VLA sizes.
220         (plugin_build_decl): Mark decls as external.
221         (plugin_tagbind): Propagate name to all variants.
222         (build_anonymous_node): New.
223         (plugin_build_record_type): Use it instead of make_node.
224         (plugin_build_union_type): Likewise.
225         (plugin_build_enum_type): Likewise.
226         (plugin_finish_record_or_union): Update all type variants.
227         (safe_lookup_builtin_type): New.
228         (plugin_int_check): Factor out of, and add checks to, ...
229         (plugin_int_type): ... this.  Rename to...
230         (plugin_int_type_v0): ... this.
231         (plugin_int_type): New interface, new implementation.
232         (plugin_char_type): New.
233         (plugin_float_type_v0): Rename from...
234         (plugin_float_type): ... this.  New interface, new implementation.
235         (plugin_init): Bump handshake version.
236         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
237         (call_binding_oracle): Rename to...
238         (c_call_binding_oracle): ... this, into anonymous namespace.
239         (call_symbol_address): Rename to...
240         (c_call_symbol_address): ... this, likewise.
241         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
242         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
243         (fork_exec): Bump to GCC_C_FE_VERSION_1.
244         (libcc1_compile): Prefix callbacks with c_.
245         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
246         * libcc1.sym: Export gcc_cp_fe_context.
247         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
248         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
249         * libcp1plugin.sym: New.
250         * marshall-c.hh: New.  Move C-specific types from...
251         * marshall.cc: ... this.
252         (cc1_plugin::marshall_array_start): New.
253         (cc1_plugin::marshall_array_elmts): New.
254         (cc1_plugin::marshall for gcc_type_array): Use the above.
255         (cc1_plugin::unmarshall_array_start): New.
256         (cc1_plugin::unmarshall_array_elmts): New.
257         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
258         * marshall.hh: Declare the new array building blocks.
259         Drop C-specific unmarshall declarations.
260         * marshall-cp.hh: New.
261         * names.cc (GCC_METHOD#): Add LANG:: to method names.
262         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
263         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
264         corresponding namespaces.
265         * rpc.hh: Don't include marshall.hh.
266         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
267         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
269 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
271         * findcomp.cc: Include system.h.
272         (search_dir): Return absolute filename.
274         * libcc1.cc (libcc1): Add class compiler with field compilerp,
275         class compiler_triplet_regexp and class
276         compiler_driver_filename.
277         (libcc1::libcc1): Initialize compilerp.
278         (libcc1::~libcc1): Delete compilerp.
279         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
280         (libcc1::compiler_driver_filename::find): New methods.
281         (libcc1_set_arguments): Remove parameter triplet_regexp.
282         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
283         (libcc1_set_arguments_v0): New functions.
284         (vtable): Use libcc1_set_arguments_v0, add
285         libcc1_set_arguments, libcc1_set_triplet_regexp and
286         libcc1_set_driver_filename.
288         * libcc1.cc: Include intl.h.
289         (struct libcc1): Add field verbose.
290         (libcc1::libcc1): Initialize it.
291         (libcc1_set_verbose): New function.
292         (libcc1_set_arguments): Print messages for VERBOSE.
293         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
294         SELF.
295         (libcc1_compile_v0): New function.
296         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
297         libcc1_set_verbose.
299         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
300         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
302 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
304         PR other/79046
305         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
306         use just major number from BASE-VER.
307         * configure: Regenerated.
308         * Makefile.in: Regenerated.
310 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
312         Update copyright years.
314 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
315             Alan Hayward  <alan.hayward@arm.com>
316             David Sherwood  <david.sherwood@arm.com>
318         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
320 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
322         Update copyrights.
324 2016-04-18  Michael Matz  <matz@suse.de>
326         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
328 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
330         PR bootstrap/70173
331         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
332         (compiler-name.h): Shorten recipe so that it fits the line.
333         * Makefile.in: Regenerate.
335 2016-03-14  Andreas Schwab  <schwab@suse.de>
337         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
338         * configure: Regenerate.
339         * Makefile.in: Regenerate.
341 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
343         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
344         rather than typed_free_remove.  Remove redudant typedefs.
346 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
348         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
349         than typed_noop_remove.  Remove redudant typedefs.
350         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
351         (plugin_context::mark): Likewise.
353 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
355         * Makefile.in: Regenerated with automake-1.11.6.
356         * aclocal.m4: Likewise.
357         * configure: Likewise.
359 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
361         * plugin.cc: Adjust for hash_table changes.
363 2015-04-15  Andreas Schwab  <schwab@suse.de>
365         PR bootstrap/65763
366         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
367         * Makefile.in: Regenerated.
369 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
371         * plugin.cc: All callers of fatal_error changed to pass
372         input_location as first argument.
374 2015-01-09  Michael Collison  <michael.collison@linaro.org>
376         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
377         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
378         due to flattening of tree.h.
380 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
382         PR bootstrap/63784
383         * configure: Regenerated.
385 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
387         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
388         * configure: Regenerate.
389         * connection.cc: Include <string.h>.
390         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
392 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
394         PR target/63610
395         * configure: Regenerate.
397 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
399         PR bootstrap/63699
400         PR bootstrap/63750
401         * plugin.cc: Don't include <string>.
403 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
404             Phil Muldoon  <pmuldoon@redhat.com>
406         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
407         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
408         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
409         (WERROR_FLAG): Remove.
410         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
411         * configure: Regenerated.
412         * Makefile.in: Regenerated.
414 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
416         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
417         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
418         New variables.
419         (libiberty): Set to -Wc, followed by the first existing noasan/,
420         pic/ or . libiberty.a.
421         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
422         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
423         * Makefile.in: Regenerated.
425 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
426             Jan Kratochvil  <jan.kratochvil@redhat.com>
427             Tom Tromey  <tromey@redhat.com>
429         * aclocal.m4: New file.
430         * callbacks.cc: New file.
431         * callbacks.hh: New file.
432         * cc1plugin-config.h.in: New file.
433         * configure: New file.
434         * configure.ac: New file.
435         * connection.cc: New file.
436         * connection.hh: New file.
437         * findcomp.cc: New file.
438         * findcomp.hh: New file.
439         * libcc1.cc: New file.
440         * libcc1plugin.sym: New file.
441         * libcc1.sym: New file.
442         * Makefile.am: New file.
443         * Makefile.in: New file.
444         * marshall.cc: New file.
445         * marshall.hh: New file.
446         * names.cc: New file.
447         * names.hh: New file.
448         * plugin.cc: New file.
449         * rpc.hh: New file.
450         * status.hh: New file.