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