]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcc1/ChangeLog
Fix various limitations of git-backport.py.
[thirdparty/gcc.git] / libcc1 / ChangeLog
CommitLineData
8d286dd1
L
12020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * configure: Regenerated.
4
af3bef0e
L
52020-05-12 H.J. Lu <hongjiu.lu@intel.com>
6
7 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
8 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
9 AC_SUBST(CET_HOST_FLAGS).
10 * Makefile.in: Regenerated.
11 * aclocal.m4: Likewise.
12 * configure: Likewise.
13
a6ee556c
PP
142020-02-12 Patrick Palka <ppalka@redhat.com>
15
16 PR c++/69448
17 PR c++/80471
18 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
19 AUTO_IS_DECLTYPE anymore.
20
87d3f828
PC
212020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
22
23 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
24
8d9254fc
JJ
252020-01-01 Jakub Jelinek <jakub@redhat.com>
26
27 Update copyright years.
28
04e4997a
PC
292019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
30
31 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
32 call.
33
d3769410
PC
342019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
35
36 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
37 and cxx_sizeof_or_alignof_expr calls.
38 (plugin_build_unary_type_expr): Likewise for
39 cxx_sizeof_or_alignof_type.
40
ca6932ad
PC
412019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
42
43 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
44 declaration.
45
ad774d0d
PC
462019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
47
48 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
49 build_functional_cast call.
50
3554d8ff
PC
512019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
52
53 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
54 cp_build_indirect_ref call.
55
e9085da5
MR
562019-09-27 Maciej W. Rozycki <macro@wdc.com>
57
58 * configure: Regenerate.
59
692af872
NS
602019-05-21 Nathan Sidwell <nathan@acm.org>
61
62 * libcp1plugin.cc (plugin_add_using_decl): Use
63 finish_nonmember_using_decl.
64
6db76e48
NS
652019-05-20 Nathan Sidwell <nathan@acm.org>
66
67 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
68 finish_using_directive.
69
a5544970
JJ
702019-01-01 Jakub Jelinek <jakub@redhat.com>
71
72 Update copyright years.
73
620e594b
DM
742018-11-13 David Malcolm <dmalcolm@redhat.com>
75
76 * libcc1plugin.cc: Replace "source_location" with "location_t".
77 (plugin_context::get_source_location): Rename to...
78 (plugin_context::get_location_t): ...this.
79 * libcp1plugin.cc: Likewise.
80
22e05272
JM
812018-10-31 Joseph Myers <joseph@codesourcery.com>
82
83 PR bootstrap/82856
84 * configure.ac: Remove AC_PREREQ.
85 * Makefile.in, aclocal.m4, configure: Regenerate.
86
001ddaa8
DM
872018-04-18 David Malcolm <dmalcolm@redhat.com>
88
89 PR jit/85384
90 * configure: Regenerate.
91
85ec4feb
JJ
922018-01-03 Jakub Jelinek <jakub@redhat.com>
93
94 Update copyright years.
95
8c7dbea9
BK
962017-11-14 Boris Kolpackov <boris@codesynthesis.com>
97
98 * configure: Regenerate.
99
9d99775c
SDJ
1002017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
101 Pedro Alves <palves@redhat.com>
102
103 * Makefile.am: Remove references to c-compiler-name.h and
104 cp-compiler-name.h
105 * Makefile.in: Regenerate.
106 * compiler-name.hh: New file.
107 * libcc1.cc: Don't include c-compiler-name.h. Include
108 compiler-name.hh.
109 * libcp1.cc: Don't include cp-compiler-name.h. Include
110 compiler-name.hh.
111
ce121158
NS
1122017-11-01 Nathan Sidwell <nathan@acm.org>
113
114 * libcp1plugin.cc (plugin_build_decl): Use
115 DECL_OVERLOADED_OPERATOR_CODE_RAW.
116
88a819be
NS
1172017-10-31 Nathan Sidwell <nathan@acm.org>
118
119 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
120 Directly set operator code.
121 (plugin_build_dependent_expr): Use ovl_op_identifier.
122
b419102c
NS
1232017-10-04 Nathan Sidwell <nathan@acm.org>
124
125 * libcp1plugin.cc (supplement_binding): Don't use
126 maybe_remove_implicit_alias.
127
5aaa8fb4
NS
1282017-07-20 Nathan Sidwell <nathan@acm.org>
129
130 Remove TYPE_METHODS.
131 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
132
75f8b378
NS
1332017-07-12 Nathan Sidwell <nathan@acm.org>
134
135 * libcp1plugin.cc (plugin_build_decl): Use
136 DECL_CXX_{CON,DE}STRUCTOR directly.
137
d8448c58
RS
1382017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
139
140 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
141
08fb1316
NS
1422017-06-30 Nathan Sidwell <nathan@acm.org>
143
144 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
145 (plugin_build_dependent_expr): Likewise.
146
d6ef53f2
NS
1472017-06-26 Nathan Sidwell <nathan@acm.org>
148
149 * libcp1plugin.cc (plugin_build_decl): Don't set
150 DECL_ASSIGNMENT_OPERATOR_P.
151
e249fcad
NS
1522017-06-16 Nathan Sidwell <nathan@acm.org>
153
154 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
155
e1cad930
NS
1562017-05-26 Nathan Sidwell <nathan@acm.org>
157
3c9feefc
NS
158 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
159
e1cad930
NS
160 * libcp1plugin.cc (plugin_add_using_namespace): Call
161 finish_namespace_using_directive.
162
44e00a7a
NS
1632017-05-25 Nathan Sidwell <nathan@acm.org>
164
165 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
166 DECL_NAMESPACE_INLINE_P.
167
9d029ddf
NS
1682017-05-23 Nathan Sidwell <nathan@acm.org>
169
170 * libcp1plugin.cc (plugin_add_using_decl): Call
171 finish_namespace_using_decl. Use assert not unreachable.
172
ce9750d5
NS
1732017-05-11 Nathan Sidwell <nathan@acm.org>
174
175 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
176
d5a2f455
NS
1772017-05-10 Nathan Sidwell <nathan@acm.org>
178
179 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
180
e072b0c4
AO
1812017-04-15 Alexandre Oliva <aoliva@redhat.com>
182
183 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
184
8db29d88
AO
1852017-01-30 Alexandre Oliva <aoliva@redhat.com>
186
187 Introduce C++ support.
188 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
189 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
190 new macros.
191 (plugin_LTLIBRARIES): Add libcp1plugin.la.
192 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
193 (cp-compiler-name.h): ... this. New.
194 (c-compiler-name.h): Rename all over from...
195 (compiler-name.h): ... this. Create it atomically.
196 (marshall_c_source, marshall_cxx_source): New macros.
197 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
198 Add marshall_c_source expansion.
199 (libcc1plugin.lo_CPPFLAGS): New macro.
200 (libcp1plugin_la_LDFLAGS): Likewise.
201 (libcp1plugin_la_SOURCES): Likewise.
202 (libcp1plugin.lo_CPPFLAGS): Likewise.
203 (libcp1plugin_la_LIBADD): Likewise.
204 (libcp1plugin_la_DEPENDENCIES): Likewise.
205 (libcp1plugin_la_LINK): Likewise.
206 (libcc1_la_SOURCES): Added marshall_c_source and
207 marshall_cxx_source expansions.
208 * Makefile.in: Rebuild.
209 * compiler-name.h: Rename all over to...
210 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
211 of COMPILER_NAME.
212 * plugin.cc: Rename all over to...
213 * libcc1plugin.cc: ... this. Include marshall-c.hh.
214 (address_rewriter): Drop cleaning up of VLA sizes.
215 (plugin_build_decl): Mark decls as external.
216 (plugin_tagbind): Propagate name to all variants.
217 (build_anonymous_node): New.
218 (plugin_build_record_type): Use it instead of make_node.
219 (plugin_build_union_type): Likewise.
220 (plugin_build_enum_type): Likewise.
221 (plugin_finish_record_or_union): Update all type variants.
222 (safe_lookup_builtin_type): New.
223 (plugin_int_check): Factor out of, and add checks to, ...
224 (plugin_int_type): ... this. Rename to...
225 (plugin_int_type_v0): ... this.
226 (plugin_int_type): New interface, new implementation.
227 (plugin_char_type): New.
228 (plugin_float_type_v0): Rename from...
229 (plugin_float_type): ... this. New interface, new implementation.
230 (plugin_init): Bump handshake version.
231 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
232 (call_binding_oracle): Rename to...
233 (c_call_binding_oracle): ... this, into anonymous namespace.
234 (call_symbol_address): Rename to...
235 (c_call_symbol_address): ... this, likewise.
236 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
237 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
238 (fork_exec): Bump to GCC_C_FE_VERSION_1.
239 (libcc1_compile): Prefix callbacks with c_.
240 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
241 * libcc1.sym: Export gcc_cp_fe_context.
242 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
243 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
244 * libcp1plugin.sym: New.
245 * marshall-c.hh: New. Move C-specific types from...
246 * marshall.cc: ... this.
247 (cc1_plugin::marshall_array_start): New.
248 (cc1_plugin::marshall_array_elmts): New.
249 (cc1_plugin::marshall for gcc_type_array): Use the above.
250 (cc1_plugin::unmarshall_array_start): New.
251 (cc1_plugin::unmarshall_array_elmts): New.
252 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
253 * marshall.hh: Declare the new array building blocks.
254 Drop C-specific unmarshall declarations.
255 * marshall-cp.hh: New.
256 * names.cc (GCC_METHOD#): Add LANG:: to method names.
257 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
258 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
259 corresponding namespaces.
260 * rpc.hh: Don't include marshall.hh.
261 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
262 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
263
023721aa
JK
2642017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
265
9f92b93b
JK
266 * findcomp.cc: Include system.h.
267 (search_dir): Return absolute filename.
268
5d1b2443
JK
269 * libcc1.cc (libcc1): Add class compiler with field compilerp,
270 class compiler_triplet_regexp and class
271 compiler_driver_filename.
272 (libcc1::libcc1): Initialize compilerp.
273 (libcc1::~libcc1): Delete compilerp.
274 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
275 (libcc1::compiler_driver_filename::find): New methods.
276 (libcc1_set_arguments): Remove parameter triplet_regexp.
277 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
278 (libcc1_set_arguments_v0): New functions.
279 (vtable): Use libcc1_set_arguments_v0, add
280 libcc1_set_arguments, libcc1_set_triplet_regexp and
281 libcc1_set_driver_filename.
282
3b5c1072
JK
283 * libcc1.cc: Include intl.h.
284 (struct libcc1): Add field verbose.
285 (libcc1::libcc1): Initialize it.
286 (libcc1_set_verbose): New function.
287 (libcc1_set_arguments): Print messages for VERBOSE.
288 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
289 SELF.
290 (libcc1_compile_v0): New function.
291 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
292 libcc1_set_verbose.
293
023721aa
JK
294 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
295 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
296
3c36aa6b
JJ
2972017-01-17 Jakub Jelinek <jakub@redhat.com>
298
299 PR other/79046
300 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
301 use just major number from BASE-VER.
302 * configure: Regenerated.
303 * Makefile.in: Regenerated.
304
2afd3180
JJ
3052017-01-04 Jakub Jelinek <jakub@redhat.com>
306
307 Update copyright years.
308
899ca90e
RS
3092016-11-18 Richard Sandiford <richard.sandiford@arm.com>
310 Alan Hayward <alan.hayward@arm.com>
311 David Sherwood <david.sherwood@arm.com>
312
313 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
314
48eae472
RO
3152016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
316
317 Update copyrights.
318
fe37c7af
MM
3192016-04-18 Michael Matz <matz@suse.de>
320
321 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
322
fa246aa3
SB
3232016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
324
325 PR bootstrap/70173
326 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
327 (compiler-name.h): Shorten recipe so that it fits the line.
328 * Makefile.in: Regenerate.
329
ca37d49a
AS
3302016-03-14 Andreas Schwab <schwab@suse.de>
331
332 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
333 * configure: Regenerate.
334 * Makefile.in: Regenerate.
335
95fbe13e
RS
3362015-06-25 Richard Sandiford <richard.sandiford@arm.com>
337
338 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
339 rather than typed_free_remove. Remove redudant typedefs.
340
8d67ee55
RS
3412015-06-25 Richard Sandiford <richard.sandiford@arm.com>
342
343 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
344 than typed_noop_remove. Remove redudant typedefs.
345 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
346 (plugin_context::mark): Likewise.
347
4709a6d2
MH
3482015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
349
350 * Makefile.in: Regenerated with automake-1.11.6.
351 * aclocal.m4: Likewise.
352 * configure: Likewise.
353
67f58944
TS
3542015-04-18 Trevor Saunders <tsaunders@mozilla.com>
355
356 * plugin.cc: Adjust for hash_table changes.
357
f8a7e154
AS
3582015-04-15 Andreas Schwab <schwab@suse.de>
359
360 PR bootstrap/65763
361 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
362 * Makefile.in: Regenerated.
363
40fecdd6
JM
3642015-01-30 Joseph Myers <joseph@codesourcery.com>
365
366 * plugin.cc: All callers of fatal_error changed to pass
367 input_location as first argument.
368
adfac8df
JJ
3692015-01-09 Michael Collison <michael.collison@linaro.org>
370
371 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
372 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
373 due to flattening of tree.h.
374
a699d672
L
3752014-11-21 H.J. Lu <hongjiu.lu@intel.com>
376
377 PR bootstrap/63784
378 * configure: Regenerated.
379
0ed4f879
RO
3802014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
381
382 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
383 * configure: Regenerate.
384 * connection.cc: Include <string.h>.
fe37c7af 385 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
0ed4f879 386
ebf6d33b
FXC
3872014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
388
389 PR target/63610
390 * configure: Regenerate.
391
33c430b5
FXC
3922014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
393
394 PR bootstrap/63699
395 PR bootstrap/63750
396 * plugin.cc: Don't include <string>.
397
ca557f53
JJ
3982014-10-29 Jakub Jelinek <jakub@redhat.com>
399 Phil Muldoon <pmuldoon@redhat.com>
400
401 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
402 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
403 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
404 (WERROR_FLAG): Remove.
405 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
406 * configure: Regenerated.
407 * Makefile.in: Regenerated.
408
56f274b2
JJ
4092014-10-29 Jakub Jelinek <jakub@redhat.com>
410
411 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
412 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
413 New variables.
414 (libiberty): Set to -Wc, followed by the first existing noasan/,
415 pic/ or . libiberty.a.
416 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
417 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
418 * Makefile.in: Regenerated.
419
ddc8de03
PM
4202014-10-27 Phil Muldoon <pmuldoon@redhat.com>
421 Jan Kratochvil <jan.kratochvil@redhat.com>
422 Tom Tromey <tromey@redhat.com>
423
424 * aclocal.m4: New file.
425 * callbacks.cc: New file.
426 * callbacks.hh: New file.
427 * cc1plugin-config.h.in: New file.
428 * configure: New file.
429 * configure.ac: New file.
430 * connection.cc: New file.
431 * connection.hh: New file.
432 * findcomp.cc: New file.
433 * findcomp.hh: New file.
434 * libcc1.cc: New file.
435 * libcc1plugin.sym: New file.
436 * libcc1.sym: New file.
437 * Makefile.am: New file.
438 * Makefile.in: New file.
439 * marshall.cc: New file.
440 * marshall.hh: New file.
441 * names.cc: New file.
442 * names.hh: New file.
443 * plugin.cc: New file.
444 * rpc.hh: New file.
445 * status.hh: New file.