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