IBM Z: Restrict vec_cmp<m><n> on z13
[official-gcc.git] / libcc1 / ChangeLog
blobdb101b14199c5e7446fc389687434c9b34d921b0
1 2020-11-11  Patrick Palka  <ppalka@redhat.com>
3         PR c++/88115
4         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
5         cxx_sizeof_or_alignof_expr.
7 2020-11-10  Marek Polacek  <polacek@redhat.com>
9         PR c++/97518
10         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
11         finish_static_assert.
13 2020-11-06  Nathan Sidwell  <nathan@acm.org>
15         * libcc1plugin.cc (address_rewriter): Rename
16         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
17         * libcp1plugin.cc (supplement_binding): Likewise.
19 2020-10-14  Nathan Sidwell  <nathan@acm.org>
21         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
23 2020-10-07  Nathan Sidwell  <nathan@acm.org>
25         * libcp1plugin.cc (supplement_binding): Rename
26         DECL_BUILTIN_P.
28 2020-10-02  Nathan Sidwell  <nathan@acm.org>
30         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
32 2020-09-25  Nathan Sidwell  <nathan@acm.org>
34         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
36 2020-09-24  Nathan Sidwell  <nathan@acm.org>
38         * libcp1plugin.cc (supplement_binding): Drop default args to
39         duplicate_decls.
40         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
41         (safe_pushdecl_maybe_friend): Rename to ...
42         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
43         to pushdecl.
44         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
45         (plugin_build_constant): Adjust safe_pushdecl call.
47 2020-09-10  Nathan Sidwell  <nathan@acm.org>
49         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
51 2020-08-14  Nathan Sidwell  <nathan@acm.org>
53         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
54         lookup_name_real call.
56 2020-08-14  Nathan Sidwell  <nathan@acm.org>
58         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
59         lookup_name_real call.
61 2020-08-14  Nathan Sidwell  <nathan@acm.org>
63         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
64         lookup_name_real & lookup_qualified_name calls.
66 2020-08-13  Nathan Sidwell  <nathan@acm.org>
68         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
70 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
72         PR bootstrap/96202
73         * configure: Regenerated.
75 2020-06-30  Nathan Sidwell  <nathan@acm.org>
77         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
78         call.
80 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
82         PR bootstrap/95413
83         * configure: Regenerated.
85 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
87         * configure: Regenerated.
89 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
91         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
92         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
93         AC_SUBST(CET_HOST_FLAGS).
94         * Makefile.in: Regenerated.
95         * aclocal.m4: Likewise.
96         * configure: Likewise.
98 2020-02-12  Patrick Palka  <ppalka@redhat.com>
100         PR c++/69448
101         PR c++/80471
102         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
103         AUTO_IS_DECLTYPE anymore.
105 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
107         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
109 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
111         Update copyright years.
113 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
115         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
116         call.
118 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
120         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
121         and cxx_sizeof_or_alignof_expr calls.
122         (plugin_build_unary_type_expr): Likewise for
123         cxx_sizeof_or_alignof_type.
125 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
127         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
128         declaration.
130 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
132         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
133         build_functional_cast call.
135 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
137         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
138         cp_build_indirect_ref call.
140 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
142         * configure: Regenerate.
144 2019-05-21  Nathan Sidwell  <nathan@acm.org>
146         * libcp1plugin.cc (plugin_add_using_decl): Use
147         finish_nonmember_using_decl.
149 2019-05-20  Nathan Sidwell  <nathan@acm.org>
151         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
152         finish_using_directive.
154 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
156         Update copyright years.
158 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
160         * libcc1plugin.cc: Replace "source_location" with "location_t".
161         (plugin_context::get_source_location): Rename to...
162         (plugin_context::get_location_t): ...this.
163         * libcp1plugin.cc: Likewise.
165 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
167         PR bootstrap/82856
168         * configure.ac: Remove AC_PREREQ.
169         * Makefile.in, aclocal.m4, configure: Regenerate.
171 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
173         PR jit/85384
174         * configure: Regenerate.
176 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
178         Update copyright years.
180 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
182         * configure: Regenerate.
184 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
185             Pedro Alves  <palves@redhat.com>
187         * Makefile.am: Remove references to c-compiler-name.h and
188         cp-compiler-name.h
189         * Makefile.in: Regenerate.
190         * compiler-name.hh: New file.
191         * libcc1.cc: Don't include c-compiler-name.h.  Include
192         compiler-name.hh.
193         * libcp1.cc: Don't include cp-compiler-name.h.  Include
194         compiler-name.hh.
196 2017-11-01  Nathan Sidwell  <nathan@acm.org>
198         * libcp1plugin.cc (plugin_build_decl): Use
199         DECL_OVERLOADED_OPERATOR_CODE_RAW.
201 2017-10-31  Nathan Sidwell  <nathan@acm.org>
203         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
204         Directly set operator code.
205         (plugin_build_dependent_expr): Use ovl_op_identifier.
207 2017-10-04  Nathan Sidwell  <nathan@acm.org>
209         * libcp1plugin.cc (supplement_binding): Don't use
210         maybe_remove_implicit_alias.
212 2017-07-20  Nathan Sidwell  <nathan@acm.org>
214         Remove TYPE_METHODS.
215         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
217 2017-07-12  Nathan Sidwell  <nathan@acm.org>
219         * libcp1plugin.cc (plugin_build_decl): Use
220         DECL_CXX_{CON,DE}STRUCTOR directly.
222 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
224         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
226 2017-06-30  Nathan Sidwell  <nathan@acm.org>
228         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
229         (plugin_build_dependent_expr): Likewise.
231 2017-06-26  Nathan Sidwell  <nathan@acm.org>
233         * libcp1plugin.cc (plugin_build_decl): Don't set
234         DECL_ASSIGNMENT_OPERATOR_P.
236 2017-06-16  Nathan Sidwell  <nathan@acm.org>
238         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
240 2017-05-26  Nathan Sidwell  <nathan@acm.org>
242         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
244         * libcp1plugin.cc (plugin_add_using_namespace): Call
245         finish_namespace_using_directive.
247 2017-05-25  Nathan Sidwell  <nathan@acm.org>
249         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
250         DECL_NAMESPACE_INLINE_P.
252 2017-05-23  Nathan Sidwell  <nathan@acm.org>
254         * libcp1plugin.cc (plugin_add_using_decl): Call
255         finish_namespace_using_decl.  Use assert not unreachable.
257 2017-05-11  Nathan Sidwell  <nathan@acm.org>
259         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
261 2017-05-10  Nathan Sidwell  <nathan@acm.org>
263         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
265 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
267         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
269 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
271         Introduce C++ support.
272         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
273         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
274         new macros.
275         (plugin_LTLIBRARIES): Add libcp1plugin.la.
276         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
277         (cp-compiler-name.h): ... this.  New.
278         (c-compiler-name.h): Rename all over from...
279         (compiler-name.h): ... this.  Create it atomically.
280         (marshall_c_source, marshall_cxx_source): New macros.
281         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
282         Add marshall_c_source expansion.
283         (libcc1plugin.lo_CPPFLAGS): New macro.
284         (libcp1plugin_la_LDFLAGS): Likewise.
285         (libcp1plugin_la_SOURCES): Likewise.
286         (libcp1plugin.lo_CPPFLAGS): Likewise.
287         (libcp1plugin_la_LIBADD): Likewise.
288         (libcp1plugin_la_DEPENDENCIES): Likewise.
289         (libcp1plugin_la_LINK): Likewise.
290         (libcc1_la_SOURCES): Added marshall_c_source and
291         marshall_cxx_source expansions.
292         * Makefile.in: Rebuild.
293         * compiler-name.h: Rename all over to...
294         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
295         of COMPILER_NAME.
296         * plugin.cc: Rename all over to...
297         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
298         (address_rewriter): Drop cleaning up of VLA sizes.
299         (plugin_build_decl): Mark decls as external.
300         (plugin_tagbind): Propagate name to all variants.
301         (build_anonymous_node): New.
302         (plugin_build_record_type): Use it instead of make_node.
303         (plugin_build_union_type): Likewise.
304         (plugin_build_enum_type): Likewise.
305         (plugin_finish_record_or_union): Update all type variants.
306         (safe_lookup_builtin_type): New.
307         (plugin_int_check): Factor out of, and add checks to, ...
308         (plugin_int_type): ... this.  Rename to...
309         (plugin_int_type_v0): ... this.
310         (plugin_int_type): New interface, new implementation.
311         (plugin_char_type): New.
312         (plugin_float_type_v0): Rename from...
313         (plugin_float_type): ... this.  New interface, new implementation.
314         (plugin_init): Bump handshake version.
315         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
316         (call_binding_oracle): Rename to...
317         (c_call_binding_oracle): ... this, into anonymous namespace.
318         (call_symbol_address): Rename to...
319         (c_call_symbol_address): ... this, likewise.
320         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
321         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
322         (fork_exec): Bump to GCC_C_FE_VERSION_1.
323         (libcc1_compile): Prefix callbacks with c_.
324         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
325         * libcc1.sym: Export gcc_cp_fe_context.
326         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
327         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
328         * libcp1plugin.sym: New.
329         * marshall-c.hh: New.  Move C-specific types from...
330         * marshall.cc: ... this.
331         (cc1_plugin::marshall_array_start): New.
332         (cc1_plugin::marshall_array_elmts): New.
333         (cc1_plugin::marshall for gcc_type_array): Use the above.
334         (cc1_plugin::unmarshall_array_start): New.
335         (cc1_plugin::unmarshall_array_elmts): New.
336         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
337         * marshall.hh: Declare the new array building blocks.
338         Drop C-specific unmarshall declarations.
339         * marshall-cp.hh: New.
340         * names.cc (GCC_METHOD#): Add LANG:: to method names.
341         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
342         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
343         corresponding namespaces.
344         * rpc.hh: Don't include marshall.hh.
345         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
346         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
348 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
350         * findcomp.cc: Include system.h.
351         (search_dir): Return absolute filename.
353         * libcc1.cc (libcc1): Add class compiler with field compilerp,
354         class compiler_triplet_regexp and class
355         compiler_driver_filename.
356         (libcc1::libcc1): Initialize compilerp.
357         (libcc1::~libcc1): Delete compilerp.
358         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
359         (libcc1::compiler_driver_filename::find): New methods.
360         (libcc1_set_arguments): Remove parameter triplet_regexp.
361         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
362         (libcc1_set_arguments_v0): New functions.
363         (vtable): Use libcc1_set_arguments_v0, add
364         libcc1_set_arguments, libcc1_set_triplet_regexp and
365         libcc1_set_driver_filename.
367         * libcc1.cc: Include intl.h.
368         (struct libcc1): Add field verbose.
369         (libcc1::libcc1): Initialize it.
370         (libcc1_set_verbose): New function.
371         (libcc1_set_arguments): Print messages for VERBOSE.
372         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
373         SELF.
374         (libcc1_compile_v0): New function.
375         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
376         libcc1_set_verbose.
378         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
379         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
381 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
383         PR other/79046
384         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
385         use just major number from BASE-VER.
386         * configure: Regenerated.
387         * Makefile.in: Regenerated.
389 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
391         Update copyright years.
393 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
394             Alan Hayward  <alan.hayward@arm.com>
395             David Sherwood  <david.sherwood@arm.com>
397         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
399 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
401         Update copyrights.
403 2016-04-18  Michael Matz  <matz@suse.de>
405         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
407 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
409         PR bootstrap/70173
410         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
411         (compiler-name.h): Shorten recipe so that it fits the line.
412         * Makefile.in: Regenerate.
414 2016-03-14  Andreas Schwab  <schwab@suse.de>
416         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
417         * configure: Regenerate.
418         * Makefile.in: Regenerate.
420 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
422         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
423         rather than typed_free_remove.  Remove redudant typedefs.
425 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
427         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
428         than typed_noop_remove.  Remove redudant typedefs.
429         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
430         (plugin_context::mark): Likewise.
432 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
434         * Makefile.in: Regenerated with automake-1.11.6.
435         * aclocal.m4: Likewise.
436         * configure: Likewise.
438 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
440         * plugin.cc: Adjust for hash_table changes.
442 2015-04-15  Andreas Schwab  <schwab@suse.de>
444         PR bootstrap/65763
445         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
446         * Makefile.in: Regenerated.
448 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
450         * plugin.cc: All callers of fatal_error changed to pass
451         input_location as first argument.
453 2015-01-09  Michael Collison  <michael.collison@linaro.org>
455         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
456         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
457         due to flattening of tree.h.
459 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
461         PR bootstrap/63784
462         * configure: Regenerated.
464 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
466         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
467         * configure: Regenerate.
468         * connection.cc: Include <string.h>.
469         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
471 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
473         PR target/63610
474         * configure: Regenerate.
476 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
478         PR bootstrap/63699
479         PR bootstrap/63750
480         * plugin.cc: Don't include <string>.
482 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
483             Phil Muldoon  <pmuldoon@redhat.com>
485         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
486         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
487         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
488         (WERROR_FLAG): Remove.
489         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
490         * configure: Regenerated.
491         * Makefile.in: Regenerated.
493 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
495         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
496         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
497         New variables.
498         (libiberty): Set to -Wc, followed by the first existing noasan/,
499         pic/ or . libiberty.a.
500         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
501         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
502         * Makefile.in: Regenerated.
504 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
505             Jan Kratochvil  <jan.kratochvil@redhat.com>
506             Tom Tromey  <tromey@redhat.com>
508         * aclocal.m4: New file.
509         * callbacks.cc: New file.
510         * callbacks.hh: New file.
511         * cc1plugin-config.h.in: New file.
512         * configure: New file.
513         * configure.ac: New file.
514         * connection.cc: New file.
515         * connection.hh: New file.
516         * findcomp.cc: New file.
517         * findcomp.hh: New file.
518         * libcc1.cc: New file.
519         * libcc1plugin.sym: New file.
520         * libcc1.sym: New file.
521         * Makefile.am: New file.
522         * Makefile.in: New file.
523         * marshall.cc: New file.
524         * marshall.hh: New file.
525         * names.cc: New file.
526         * names.hh: New file.
527         * plugin.cc: New file.
528         * rpc.hh: New file.
529         * status.hh: New file.