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