]>
Commit | Line | Data |
---|---|---|
8a89c39b GA |
1 | 2021-12-15 Iain Sandoe <iain@sandoe.co.uk> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
2d14d64b GA |
5 | 2021-08-17 Iain Sandoe <iain@sandoe.co.uk> |
6 | ||
7 | * Makefile.am: Switch mdynamic-no-pic to fPIC. | |
8 | * Makefile.in: Regenerated. | |
9 | ||
c8abc205 GA |
10 | 2021-06-28 Martin Sebor <msebor@redhat.com> |
11 | ||
12 | * libcp1plugin.cc (record_decl_address): Replace a direct use | |
13 | of TREE_NO_WARNING with suppress_warning. | |
14 | ||
44948011 GA |
15 | 2021-05-05 Tom Tromey <tom@tromey.com> |
16 | ||
17 | * compiler.cc (make_regexp): Take const std::string. | |
18 | (cc1_plugin::compiler_triplet_regexp::find): Update. | |
19 | ||
20 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
21 | ||
22 | PR c/94669 | |
23 | * compiler.hh (compiler_driver_filename): Take const char *. | |
24 | (compiler_triplet_regexp): Likewise. | |
25 | ||
26 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
27 | ||
28 | * rpc.hh (argument_wrapper) <get>: Replace cast operator. | |
29 | (argument_wrapper<T *>) <get>: Likewise. | |
30 | (unmarshall): Add std::tuple overloads. | |
31 | (callback): Remove. | |
32 | (class invoker): New. | |
33 | * libcp1plugin.cc (plugin_init): Update. | |
34 | * libcp1.cc (libcp1::add_callbacks): Update. | |
35 | * libcc1plugin.cc (plugin_init): Update. | |
36 | * libcc1.cc (libcc1::add_callbacks): Update. | |
37 | * connection.cc (cc1_plugin::connection::do_wait): Update. | |
38 | ||
39 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
40 | ||
41 | * gdbctx.hh (do_compile): Use std::vector. | |
42 | ||
43 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
44 | ||
45 | * libcp1.cc (libcp1): Change parameters. Update. | |
46 | (libcp1_set_verbose, libcp1_set_arguments) | |
47 | (libcp1_set_triplet_regexp, libcp1_set_driver_filename) | |
48 | (libcp1_set_source_file, libcp1_set_print_callback, fork_exec) | |
49 | (libcp1_compile, libcp1_destroy, vtable): Remove. | |
50 | (libcp1::add_callbacks): New method, extracted from | |
51 | libcp1_compile. | |
52 | (gcc_c_fe_context): Update. | |
53 | * libcc1.cc (libcc1): Change parameters. Update. | |
54 | (libcc1_set_verbose, libcc1_set_arguments) | |
55 | (libcc1_set_triplet_regexp, libcc1_set_driver_filename) | |
56 | (libcc1_set_source_file, libcc1_set_print_callback, fork_exec) | |
57 | (libcc1_compile, libcc1_destroy, vtable): Remove. | |
58 | (libcc1::add_callbacks): New method, extracted from | |
59 | libcc1_compile. | |
60 | (gcc_c_fe_context): Update. | |
61 | * gdbctx.hh (base_gdb_plugin): Change parameters. | |
62 | (~base_gdb_plugin): New. | |
63 | <add_callbacks>: New virtual method. | |
64 | <plugin_name, fe_version, compiler_name, vtable>: New members. | |
65 | (get_self, do_set_verbose, do_set_arguments) | |
66 | (do_set_triplet_regexp, do_set_driver_filename) | |
67 | (do_set_arguments_v0, do_set_source_file, do_set_print_callback) | |
68 | (fork_exec, do_compile, do_compile_v0, do_destroy): New methods. | |
69 | ||
70 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
71 | ||
72 | * libcp1.cc (vtable): Use GCC_FE_VERSION_1. | |
73 | ||
74 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
75 | ||
76 | * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove | |
77 | shared code. | |
78 | (class libcp1_connection): Remove. | |
79 | (rpc): Remove. | |
80 | (libcp1_set_verbose, libcp1_compile): Update. | |
81 | (cp_call_binding_oracle, cp_call_symbol_address) | |
82 | (cp_call_enter_scope, cp_call_leave_scope): Update. | |
83 | * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove | |
84 | shared code. | |
85 | (class libcc1_connection): Remove. | |
86 | (c_call_binding_oracle, c_call_symbol_address): Update. | |
87 | (rpc): Remove. | |
88 | (libcc1_set_verbose, libcc1_compile): Update. | |
89 | * gdbctx.hh: New file. | |
90 | ||
91 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
92 | ||
93 | * libcc1plugin.cc: Move code to context.cc. | |
94 | * libcp1plugin.cc: Move code to context.cc. | |
95 | * context.hh: New file. | |
96 | * context.cc: New file. | |
97 | * Makefile.in: Rebuild. | |
98 | * Makefile.am (AM_CPPFLAGS): Add more gcc flags. | |
99 | (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update. | |
100 | (libcc1plugin_la_SOURCES): Add context.hh, context.cc. | |
101 | (libcp1plugin_la_SOURCES): Likewise. | |
102 | ||
103 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
104 | ||
105 | * libcp1plugin.cc: Use static assert. | |
106 | ||
107 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
108 | ||
109 | * libcp1plugin.cc (plugin_context::mark): Use foreach. | |
110 | * libcc1plugin.cc (plugin_context::mark): Use foreach. | |
111 | ||
112 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
113 | ||
114 | * libcp1.cc (compiler, compiler_triplet_regexp) | |
115 | (compiler_driver_filename): Remove. | |
116 | (libcp1::libcp1): Update. | |
117 | (make_regexp, libcp1::compiler::find) | |
118 | (libcp1::compiler_triplet_regexp::find) | |
119 | (libcp1::compiler_driver_filename::find): Remove. | |
120 | (libcp1_set_verbose, libcp1_set_arguments) | |
121 | (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update. | |
122 | * libcc1.cc (compiler, compiler_triplet_regexp) | |
123 | (compiler_driver_filename): Remove. | |
124 | (libcc1::libcc1): Update. | |
125 | (make_regexp, libcc1::compiler::find) | |
126 | (libcc1::compiler_triplet_regexp::find) | |
127 | (libcc1::compiler_driver_filename::find): Remove. | |
128 | (libcc1_set_verbose, libcc1_set_arguments) | |
129 | (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update. | |
130 | * compiler.cc: New file. | |
131 | * compiler.hh: New file. | |
132 | * Makefile.in: Rebuild. | |
133 | * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc. | |
134 | ||
135 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
136 | ||
137 | * libcp1.cc (struct libcp1) <connection, compilerp>: Use | |
138 | unique_ptr. | |
139 | (~libcp1): Remove. | |
140 | (libcp1_compile, libcp1_set_triplet_regexp) | |
141 | (libcp1_set_driver_filename): Update. | |
142 | * libcc1.cc (struct libcc1) <connection, compilerp>: Use | |
143 | unique_ptr. | |
144 | (~libcc1): Remove. | |
145 | (libcc1_set_triplet_regexp, libcc1_set_driver_filename) | |
146 | (libcc1_compile): Update. | |
147 | ||
148 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
149 | ||
150 | * rpc.hh (deleter): Move template and some specializations to | |
151 | deleter.hh. | |
152 | (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr. | |
153 | * marshall.cc (cc1_plugin::unmarshall): Use | |
154 | cc1_plugin::unique_ptr. | |
155 | * marshall-cp.hh (deleter): New specializations. | |
156 | (unmarshall): Use cc1_plugin::unique_ptr. | |
157 | * deleter.hh: New file. | |
158 | ||
159 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
160 | ||
161 | * rpc.hh (struct deleter): New template class and | |
162 | specializations. | |
163 | (argument_wrapper): Remove specializations. Add specialization | |
164 | for any pointer type. | |
165 | ||
166 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
167 | ||
168 | * libcp1plugin.cc (plugin_build_function_type): Use std::vector. | |
169 | * libcc1plugin.cc (plugin_build_function_type): Use std::vector. | |
170 | ||
171 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
172 | ||
173 | * libcp1.cc (rpc): Use variadic template. Remove overloads. | |
174 | * libcc1.cc (rpc): Use variadic template. Remove overloads. | |
175 | ||
176 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
177 | ||
178 | * rpc.hh (call): Use variadic template. Remove overloads. | |
179 | * marshall.hh (marshall): Add base overload. Use variadic | |
180 | template. | |
181 | ||
182 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
183 | ||
184 | * rpc.hh (argument_wrapper): Use delete for copy constructor. | |
185 | * connection.hh (class connection): Use delete for copy | |
186 | constructor. | |
187 | * callbacks.hh (class callbacks): Use delete for copy constructor. | |
188 | ||
189 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
190 | ||
191 | * connection.hh (~connection): Use default. | |
192 | (print): Inline. | |
193 | * connection.cc (cc1_plugin::connection::~connection) | |
194 | (cc1_plugin::connection::print): Remove definitions. | |
195 | ||
196 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
197 | ||
198 | * libcp1.cc (class compiler_triplet_regexp) | |
199 | (class compiler_driver_filename, class libcp1_connection): Use | |
200 | "override". | |
201 | * libcc1.cc (class compiler_triplet_regexp) | |
202 | (class compiler_driver_filename, class libcc1_connection): Use | |
203 | "override". | |
204 | ||
205 | 2021-05-05 Tom Tromey <tom@tromey.com> | |
206 | ||
207 | * marshall.hh (cc1_plugin::unmarshall): Use type traits. | |
208 | * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads. | |
209 | * marshall-c.hh: Remove. | |
210 | * libcc1plugin.cc: Update includes. | |
211 | * libcc1.cc: Update includes. | |
212 | ||
e690396d GA |
213 | 2021-05-03 H.J. Lu <hjl.tools@gmail.com> |
214 | ||
215 | PR bootstrap/99703 | |
216 | * configure: Regenerated. | |
217 | ||
651b8a50 GA |
218 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
219 | ||
220 | * configure: Re-generate. | |
221 | ||
b1a2242e GA |
222 | 2020-12-18 Jakub Jelinek <jakub@redhat.com> |
223 | ||
224 | PR bootstrap/98380 | |
225 | * configure.ac: Set darwin_dynamic_lookup=no instead to empty | |
226 | string. | |
227 | * configure: Regenerated. | |
228 | ||
6e1edf48 GA |
229 | 2020-12-05 Iain Sandoe <iain@sandoe.co.uk> |
230 | ||
231 | PR target/97865 | |
232 | * Makefile.am: Add dynamic_lookup to LD flags for Darwin. | |
233 | * configure.ac: Test for Darwin host and set a flag. | |
234 | * Makefile.in: Regenerate. | |
235 | * configure: Regenerate. | |
236 | ||
a9625c50 GA |
237 | 2020-11-29 John David Anglin <danglin@gcc.gnu.org> |
238 | ||
239 | * configure: Regenerate. | |
240 | ||
0f5f9ed5 GA |
241 | 2020-11-11 Patrick Palka <ppalka@redhat.com> |
242 | ||
243 | PR c++/88115 | |
244 | * libcp1plugin.cc (plugin_build_unary_expr): Pass true to | |
245 | cxx_sizeof_or_alignof_expr. | |
246 | ||
bb622641 GA |
247 | 2020-11-10 Marek Polacek <polacek@redhat.com> |
248 | ||
249 | PR c++/97518 | |
250 | * libcp1plugin.cc (plugin_add_static_assert): Pass false to | |
251 | finish_static_assert. | |
252 | ||
44cab2d8 GA |
253 | 2020-11-06 Nathan Sidwell <nathan@acm.org> |
254 | ||
255 | * libcc1plugin.cc (address_rewriter): Rename | |
256 | DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN. | |
257 | * libcp1plugin.cc (supplement_binding): Likewise. | |
258 | ||
b2698c21 GA |
259 | 2020-10-14 Nathan Sidwell <nathan@acm.org> |
260 | ||
261 | * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P. | |
262 | ||
6caec77e GA |
263 | 2020-10-07 Nathan Sidwell <nathan@acm.org> |
264 | ||
265 | * libcp1plugin.cc (supplement_binding): Rename | |
266 | DECL_BUILTIN_P. | |
267 | ||
b0b9b8f0 GA |
268 | 2020-10-02 Nathan Sidwell <nathan@acm.org> |
269 | ||
270 | * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test. | |
271 | ||
cdd8f031 GA |
272 | 2020-09-25 Nathan Sidwell <nathan@acm.org> |
273 | ||
274 | * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P. | |
275 | ||
a2b7397b GA |
276 | 2020-09-24 Nathan Sidwell <nathan@acm.org> |
277 | ||
278 | * libcp1plugin.cc (supplement_binding): Drop default args to | |
279 | duplicate_decls. | |
280 | (safe_pushtag): Drop scope parm. Drop default args to pushtag. | |
281 | (safe_pushdecl_maybe_friend): Rename to ... | |
282 | (safe_pushdecl): ... here. Drop is_friend parm. Drop default args | |
283 | to pushdecl. | |
284 | (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls. | |
285 | (plugin_build_constant): Adjust safe_pushdecl call. | |
286 | ||
fdcc0283 GA |
287 | 2020-09-10 Nathan Sidwell <nathan@acm.org> |
288 | ||
289 | * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P. | |
290 | ||
661ee09b GA |
291 | 2020-08-14 Nathan Sidwell <nathan@acm.org> |
292 | ||
293 | * libcp1plugin.cc (plugin_build_dependent_expr): Rename | |
294 | lookup_name_real call. | |
295 | ||
296 | 2020-08-14 Nathan Sidwell <nathan@acm.org> | |
297 | ||
298 | * libcp1plugin.cc (plugin_build_dependent_exp): Adjust | |
299 | lookup_name_real call. | |
300 | ||
301 | 2020-08-14 Nathan Sidwell <nathan@acm.org> | |
302 | ||
303 | * libcp1plugin.cc (plugin_build_dependent_expr): Adjust | |
304 | lookup_name_real & lookup_qualified_name calls. | |
305 | ||
b3cb5606 GA |
306 | 2020-08-13 Nathan Sidwell <nathan@acm.org> |
307 | ||
308 | * libcp1plugin.cc (plugin_build_dependent_expr): Likewise. | |
309 | ||
d48cca8f GA |
310 | 2020-07-30 H.J. Lu <hjl.tools@gmail.com> |
311 | ||
312 | PR bootstrap/96202 | |
313 | * configure: Regenerated. | |
314 | ||
46fbb6c6 GA |
315 | 2020-06-30 Nathan Sidwell <nathan@acm.org> |
316 | ||
317 | * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl | |
318 | call. | |
319 | ||
885ef72f GA |
320 | 2020-05-29 H.J. Lu <hjl.tools@gmail.com> |
321 | ||
322 | PR bootstrap/95413 | |
323 | * configure: Regenerated. | |
324 | ||
8d286dd1 L |
325 | 2020-05-14 H.J. Lu <hongjiu.lu@intel.com> |
326 | ||
327 | * configure: Regenerated. | |
328 | ||
af3bef0e L |
329 | 2020-05-12 H.J. Lu <hongjiu.lu@intel.com> |
330 | ||
331 | * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS). | |
332 | * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and | |
333 | AC_SUBST(CET_HOST_FLAGS). | |
334 | * Makefile.in: Regenerated. | |
335 | * aclocal.m4: Likewise. | |
336 | * configure: Likewise. | |
337 | ||
a6ee556c PP |
338 | 2020-02-12 Patrick Palka <ppalka@redhat.com> |
339 | ||
340 | PR c++/69448 | |
341 | PR c++/80471 | |
342 | * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set | |
343 | AUTO_IS_DECLTYPE anymore. | |
344 | ||
87d3f828 PC |
345 | 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com> |
346 | ||
347 | * libcp1plugin.cc (plugin_build_new_expr): Update build_new call. | |
348 | ||
8d9254fc JJ |
349 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
350 | ||
351 | Update copyright years. | |
352 | ||
04e4997a PC |
353 | 2019-12-30 Paolo Carlini <paolo.carlini@oracle.com> |
354 | ||
355 | * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity | |
356 | call. | |
357 | ||
d3769410 PC |
358 | 2019-12-18 Paolo Carlini <paolo.carlini@oracle.com> |
359 | ||
360 | * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw | |
361 | and cxx_sizeof_or_alignof_expr calls. | |
362 | (plugin_build_unary_type_expr): Likewise for | |
363 | cxx_sizeof_or_alignof_type. | |
364 | ||
ca6932ad PC |
365 | 2019-12-09 Paolo Carlini <paolo.carlini@oracle.com> |
366 | ||
367 | * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast | |
368 | declaration. | |
369 | ||
ad774d0d PC |
370 | 2019-12-05 Paolo Carlini <paolo.carlini@oracle.com> |
371 | ||
372 | * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust | |
373 | build_functional_cast call. | |
374 | ||
3554d8ff PC |
375 | 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com> |
376 | ||
377 | * libcp1plugin.cc (plugin_pragma_push_user_expression): Update | |
378 | cp_build_indirect_ref call. | |
379 | ||
e9085da5 MR |
380 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
381 | ||
382 | * configure: Regenerate. | |
383 | ||
692af872 NS |
384 | 2019-05-21 Nathan Sidwell <nathan@acm.org> |
385 | ||
386 | * libcp1plugin.cc (plugin_add_using_decl): Use | |
387 | finish_nonmember_using_decl. | |
388 | ||
6db76e48 NS |
389 | 2019-05-20 Nathan Sidwell <nathan@acm.org> |
390 | ||
391 | * libcp1plugin.cc (plugin_add_using_namespace): Call renamed | |
392 | finish_using_directive. | |
393 | ||
a5544970 JJ |
394 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
395 | ||
396 | Update copyright years. | |
397 | ||
620e594b DM |
398 | 2018-11-13 David Malcolm <dmalcolm@redhat.com> |
399 | ||
400 | * libcc1plugin.cc: Replace "source_location" with "location_t". | |
401 | (plugin_context::get_source_location): Rename to... | |
402 | (plugin_context::get_location_t): ...this. | |
403 | * libcp1plugin.cc: Likewise. | |
404 | ||
22e05272 JM |
405 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
406 | ||
407 | PR bootstrap/82856 | |
408 | * configure.ac: Remove AC_PREREQ. | |
409 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
410 | ||
001ddaa8 DM |
411 | 2018-04-18 David Malcolm <dmalcolm@redhat.com> |
412 | ||
413 | PR jit/85384 | |
414 | * configure: Regenerate. | |
415 | ||
85ec4feb JJ |
416 | 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
417 | ||
418 | Update copyright years. | |
419 | ||
8c7dbea9 BK |
420 | 2017-11-14 Boris Kolpackov <boris@codesynthesis.com> |
421 | ||
422 | * configure: Regenerate. | |
423 | ||
9d99775c SDJ |
424 | 2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com> |
425 | Pedro Alves <palves@redhat.com> | |
426 | ||
427 | * Makefile.am: Remove references to c-compiler-name.h and | |
428 | cp-compiler-name.h | |
429 | * Makefile.in: Regenerate. | |
430 | * compiler-name.hh: New file. | |
431 | * libcc1.cc: Don't include c-compiler-name.h. Include | |
432 | compiler-name.hh. | |
433 | * libcp1.cc: Don't include cp-compiler-name.h. Include | |
434 | compiler-name.hh. | |
435 | ||
ce121158 NS |
436 | 2017-11-01 Nathan Sidwell <nathan@acm.org> |
437 | ||
438 | * libcp1plugin.cc (plugin_build_decl): Use | |
439 | DECL_OVERLOADED_OPERATOR_CODE_RAW. | |
440 | ||
88a819be NS |
441 | 2017-10-31 Nathan Sidwell <nathan@acm.org> |
442 | ||
443 | * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier. | |
444 | Directly set operator code. | |
445 | (plugin_build_dependent_expr): Use ovl_op_identifier. | |
446 | ||
b419102c NS |
447 | 2017-10-04 Nathan Sidwell <nathan@acm.org> |
448 | ||
449 | * libcp1plugin.cc (supplement_binding): Don't use | |
450 | maybe_remove_implicit_alias. | |
451 | ||
5aaa8fb4 NS |
452 | 2017-07-20 Nathan Sidwell <nathan@acm.org> |
453 | ||
454 | Remove TYPE_METHODS. | |
455 | * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS. | |
456 | ||
75f8b378 NS |
457 | 2017-07-12 Nathan Sidwell <nathan@acm.org> |
458 | ||
459 | * libcp1plugin.cc (plugin_build_decl): Use | |
460 | DECL_CXX_{CON,DE}STRUCTOR directly. | |
461 | ||
d8448c58 RS |
462 | 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org> |
463 | ||
464 | * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE. | |
465 | ||
08fb1316 NS |
466 | 2017-06-30 Nathan Sidwell <nathan@acm.org> |
467 | ||
468 | * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name. | |
469 | (plugin_build_dependent_expr): Likewise. | |
470 | ||
d6ef53f2 NS |
471 | 2017-06-26 Nathan Sidwell <nathan@acm.org> |
472 | ||
473 | * libcp1plugin.cc (plugin_build_decl): Don't set | |
474 | DECL_ASSIGNMENT_OPERATOR_P. | |
475 | ||
e249fcad NS |
476 | 2017-06-16 Nathan Sidwell <nathan@acm.org> |
477 | ||
478 | * libcp1plugin.cc (plugin_build_decl): Adjust parm building. | |
479 | ||
e1cad930 NS |
480 | 2017-05-26 Nathan Sidwell <nathan@acm.org> |
481 | ||
3c9feefc NS |
482 | * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees. |
483 | ||
e1cad930 NS |
484 | * libcp1plugin.cc (plugin_add_using_namespace): Call |
485 | finish_namespace_using_directive. | |
486 | ||
44e00a7a NS |
487 | 2017-05-25 Nathan Sidwell <nathan@acm.org> |
488 | ||
489 | * libcp1plugin.cc (plugin_make_namespace_inline): Check and set | |
490 | DECL_NAMESPACE_INLINE_P. | |
491 | ||
9d029ddf NS |
492 | 2017-05-23 Nathan Sidwell <nathan@acm.org> |
493 | ||
494 | * libcp1plugin.cc (plugin_add_using_decl): Call | |
495 | finish_namespace_using_decl. Use assert not unreachable. | |
496 | ||
ce9750d5 NS |
497 | 2017-05-11 Nathan Sidwell <nathan@acm.org> |
498 | ||
499 | * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl. | |
500 | ||
d5a2f455 NS |
501 | 2017-05-10 Nathan Sidwell <nathan@acm.org> |
502 | ||
503 | * libcp1plugin.cc (plugin_build_decl): Adjust add_method call. | |
504 | ||
e072b0c4 AO |
505 | 2017-04-15 Alexandre Oliva <aoliva@redhat.com> |
506 | ||
507 | * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. | |
508 | ||
8db29d88 AO |
509 | 2017-01-30 Alexandre Oliva <aoliva@redhat.com> |
510 | ||
511 | Introduce C++ support. | |
512 | * Makefile.am (AM_CPPFLAGS): Move some -I flags to... | |
513 | (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ... | |
514 | new macros. | |
515 | (plugin_LTLIBRARIES): Add libcp1plugin.la. | |
516 | (BUILT_SOURCES, MOSTLYCLEANFILES): Add... | |
517 | (cp-compiler-name.h): ... this. New. | |
518 | (c-compiler-name.h): Rename all over from... | |
519 | (compiler-name.h): ... this. Create it atomically. | |
520 | (marshall_c_source, marshall_cxx_source): New macros. | |
521 | (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc. | |
522 | Add marshall_c_source expansion. | |
523 | (libcc1plugin.lo_CPPFLAGS): New macro. | |
524 | (libcp1plugin_la_LDFLAGS): Likewise. | |
525 | (libcp1plugin_la_SOURCES): Likewise. | |
526 | (libcp1plugin.lo_CPPFLAGS): Likewise. | |
527 | (libcp1plugin_la_LIBADD): Likewise. | |
528 | (libcp1plugin_la_DEPENDENCIES): Likewise. | |
529 | (libcp1plugin_la_LINK): Likewise. | |
530 | (libcc1_la_SOURCES): Added marshall_c_source and | |
531 | marshall_cxx_source expansions. | |
532 | * Makefile.in: Rebuild. | |
533 | * compiler-name.h: Rename all over to... | |
534 | * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead | |
535 | of COMPILER_NAME. | |
536 | * plugin.cc: Rename all over to... | |
537 | * libcc1plugin.cc: ... this. Include marshall-c.hh. | |
538 | (address_rewriter): Drop cleaning up of VLA sizes. | |
539 | (plugin_build_decl): Mark decls as external. | |
540 | (plugin_tagbind): Propagate name to all variants. | |
541 | (build_anonymous_node): New. | |
542 | (plugin_build_record_type): Use it instead of make_node. | |
543 | (plugin_build_union_type): Likewise. | |
544 | (plugin_build_enum_type): Likewise. | |
545 | (plugin_finish_record_or_union): Update all type variants. | |
546 | (safe_lookup_builtin_type): New. | |
547 | (plugin_int_check): Factor out of, and add checks to, ... | |
548 | (plugin_int_type): ... this. Rename to... | |
549 | (plugin_int_type_v0): ... this. | |
550 | (plugin_int_type): New interface, new implementation. | |
551 | (plugin_char_type): New. | |
552 | (plugin_float_type_v0): Rename from... | |
553 | (plugin_float_type): ... this. New interface, new implementation. | |
554 | (plugin_init): Bump handshake version. | |
555 | * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h. | |
556 | (call_binding_oracle): Rename to... | |
557 | (c_call_binding_oracle): ... this, into anonymous namespace. | |
558 | (call_symbol_address): Rename to... | |
559 | (c_call_symbol_address): ... this, likewise. | |
560 | (GCC_METHOD#): Move methods into cc1plugin::c:: namespace. | |
561 | (libcc1::compiler::find): Refer to C_COMPILER_NAME. | |
562 | (fork_exec): Bump to GCC_C_FE_VERSION_1. | |
563 | (libcc1_compile): Prefix callbacks with c_. | |
564 | (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1. | |
565 | * libcc1.sym: Export gcc_cp_fe_context. | |
566 | * libcp1.cc: New, mostly copied and adjusted from libcc1.cc. | |
567 | * libcp1plugin.cc: New, initially copied from libcc1plugin.cc. | |
568 | * libcp1plugin.sym: New. | |
569 | * marshall-c.hh: New. Move C-specific types from... | |
570 | * marshall.cc: ... this. | |
571 | (cc1_plugin::marshall_array_start): New. | |
572 | (cc1_plugin::marshall_array_elmts): New. | |
573 | (cc1_plugin::marshall for gcc_type_array): Use the above. | |
574 | (cc1_plugin::unmarshall_array_start): New. | |
575 | (cc1_plugin::unmarshall_array_elmts): New. | |
576 | (cc1_plugin::unmarshall for gcc_type_array): Use the above. | |
577 | * marshall.hh: Declare the new array building blocks. | |
578 | Drop C-specific unmarshall declarations. | |
579 | * marshall-cp.hh: New. | |
580 | * names.cc (GCC_METHOD#): Add LANG:: to method names. | |
581 | (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def. | |
582 | * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the | |
583 | corresponding namespaces. | |
584 | * rpc.hh: Don't include marshall.hh. | |
585 | [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for | |
586 | gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args. | |
587 | ||
023721aa JK |
588 | 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
589 | ||
9f92b93b JK |
590 | * findcomp.cc: Include system.h. |
591 | (search_dir): Return absolute filename. | |
592 | ||
5d1b2443 JK |
593 | * libcc1.cc (libcc1): Add class compiler with field compilerp, |
594 | class compiler_triplet_regexp and class | |
595 | compiler_driver_filename. | |
596 | (libcc1::libcc1): Initialize compilerp. | |
597 | (libcc1::~libcc1): Delete compilerp. | |
598 | (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find) | |
599 | (libcc1::compiler_driver_filename::find): New methods. | |
600 | (libcc1_set_arguments): Remove parameter triplet_regexp. | |
601 | (libcc1_set_triplet_regexp, libcc1_set_driver_filename) | |
602 | (libcc1_set_arguments_v0): New functions. | |
603 | (vtable): Use libcc1_set_arguments_v0, add | |
604 | libcc1_set_arguments, libcc1_set_triplet_regexp and | |
605 | libcc1_set_driver_filename. | |
606 | ||
3b5c1072 JK |
607 | * libcc1.cc: Include intl.h. |
608 | (struct libcc1): Add field verbose. | |
609 | (libcc1::libcc1): Initialize it. | |
610 | (libcc1_set_verbose): New function. | |
611 | (libcc1_set_arguments): Print messages for VERBOSE. | |
612 | (libcc1_compile): Remove parameter verbose. Use VERBOSE from | |
613 | SELF. | |
614 | (libcc1_compile_v0): New function. | |
615 | (vtable): Use libcc1_compile_v0 and add libcc1_compile and | |
616 | libcc1_set_verbose. | |
617 | ||
023721aa JK |
618 | * libcc1.cc (vtable): Update to GCC_FE_VERSION_1. |
619 | (gcc_c_fe_context): Accept also GCC_FE_VERSION_1. | |
620 | ||
3c36aa6b JJ |
621 | 2017-01-17 Jakub Jelinek <jakub@redhat.com> |
622 | ||
623 | PR other/79046 | |
624 | * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only | |
625 | use just major number from BASE-VER. | |
626 | * configure: Regenerated. | |
627 | * Makefile.in: Regenerated. | |
628 | ||
2afd3180 JJ |
629 | 2017-01-04 Jakub Jelinek <jakub@redhat.com> |
630 | ||
631 | Update copyright years. | |
632 | ||
899ca90e RS |
633 | 2016-11-18 Richard Sandiford <richard.sandiford@arm.com> |
634 | Alan Hayward <alan.hayward@arm.com> | |
635 | David Sherwood <david.sherwood@arm.com> | |
636 | ||
637 | * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE. | |
638 | ||
48eae472 RO |
639 | 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
640 | ||
641 | Update copyrights. | |
642 | ||
fe37c7af MM |
643 | 2016-04-18 Michael Matz <matz@suse.de> |
644 | ||
645 | * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN. | |
646 | ||
fa246aa3 SB |
647 | 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org> |
648 | ||
649 | PR bootstrap/70173 | |
650 | * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h . | |
651 | (compiler-name.h): Shorten recipe so that it fits the line. | |
652 | * Makefile.in: Regenerate. | |
653 | ||
ca37d49a AS |
654 | 2016-03-14 Andreas Schwab <schwab@suse.de> |
655 | ||
656 | * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute. | |
657 | * configure: Regenerate. | |
658 | * Makefile.in: Regenerate. | |
659 | ||
95fbe13e RS |
660 | 2015-06-25 Richard Sandiford <richard.sandiford@arm.com> |
661 | ||
662 | * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash | |
663 | rather than typed_free_remove. Remove redudant typedefs. | |
664 | ||
8d67ee55 RS |
665 | 2015-06-25 Richard Sandiford <richard.sandiford@arm.com> |
666 | ||
667 | * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather | |
668 | than typed_noop_remove. Remove redudant typedefs. | |
669 | (plugin_context): Use nofree_ptr_hash rather than pointer_hash. | |
670 | (plugin_context::mark): Likewise. | |
671 | ||
4709a6d2 MH |
672 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
673 | ||
674 | * Makefile.in: Regenerated with automake-1.11.6. | |
675 | * aclocal.m4: Likewise. | |
676 | * configure: Likewise. | |
677 | ||
67f58944 TS |
678 | 2015-04-18 Trevor Saunders <tsaunders@mozilla.com> |
679 | ||
680 | * plugin.cc: Adjust for hash_table changes. | |
681 | ||
f8a7e154 AS |
682 | 2015-04-15 Andreas Schwab <schwab@suse.de> |
683 | ||
684 | PR bootstrap/65763 | |
685 | * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part. | |
686 | * Makefile.in: Regenerated. | |
687 | ||
40fecdd6 JM |
688 | 2015-01-30 Joseph Myers <joseph@codesourcery.com> |
689 | ||
690 | * plugin.cc: All callers of fatal_error changed to pass | |
691 | input_location as first argument. | |
692 | ||
adfac8df JJ |
693 | 2015-01-09 Michael Collison <michael.collison@linaro.org> |
694 | ||
695 | * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h, | |
696 | input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h | |
697 | due to flattening of tree.h. | |
698 | ||
a699d672 L |
699 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
700 | ||
701 | PR bootstrap/63784 | |
702 | * configure: Regenerated. | |
703 | ||
0ed4f879 RO |
704 | 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
705 | ||
706 | * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl. | |
707 | * configure: Regenerate. | |
708 | * connection.cc: Include <string.h>. | |
fe37c7af | 709 | * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL. |
0ed4f879 | 710 | |
ebf6d33b FXC |
711 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
712 | ||
713 | PR target/63610 | |
714 | * configure: Regenerate. | |
715 | ||
33c430b5 FXC |
716 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
717 | ||
718 | PR bootstrap/63699 | |
719 | PR bootstrap/63750 | |
720 | * plugin.cc: Don't include <string>. | |
721 | ||
ca557f53 JJ |
722 | 2014-10-29 Jakub Jelinek <jakub@redhat.com> |
723 | Phil Muldoon <pmuldoon@redhat.com> | |
724 | ||
725 | * configure.ac: Remove -Werror addition to WARN_FLAGS. Add | |
726 | ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC. | |
727 | * Makefile.am (AM_CPPFLAGS): Add $(GMPINC). | |
728 | (WERROR_FLAG): Remove. | |
729 | (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG). | |
730 | * configure: Regenerated. | |
731 | * Makefile.in: Regenerated. | |
732 | ||
56f274b2 JJ |
733 | 2014-10-29 Jakub Jelinek <jakub@redhat.com> |
734 | ||
735 | * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address. | |
736 | (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep): | |
737 | New variables. | |
738 | (libiberty): Set to -Wc, followed by the first existing noasan/, | |
739 | pic/ or . libiberty.a. | |
740 | (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK, | |
741 | libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables. | |
742 | * Makefile.in: Regenerated. | |
743 | ||
ddc8de03 PM |
744 | 2014-10-27 Phil Muldoon <pmuldoon@redhat.com> |
745 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
746 | Tom Tromey <tromey@redhat.com> | |
747 | ||
748 | * aclocal.m4: New file. | |
749 | * callbacks.cc: New file. | |
750 | * callbacks.hh: New file. | |
751 | * cc1plugin-config.h.in: New file. | |
752 | * configure: New file. | |
753 | * configure.ac: New file. | |
754 | * connection.cc: New file. | |
755 | * connection.hh: New file. | |
756 | * findcomp.cc: New file. | |
757 | * findcomp.hh: New file. | |
758 | * libcc1.cc: New file. | |
759 | * libcc1plugin.sym: New file. | |
760 | * libcc1.sym: New file. | |
761 | * Makefile.am: New file. | |
762 | * Makefile.in: New file. | |
763 | * marshall.cc: New file. | |
764 | * marshall.hh: New file. | |
765 | * names.cc: New file. | |
766 | * names.hh: New file. | |
767 | * plugin.cc: New file. | |
768 | * rpc.hh: New file. | |
769 | * status.hh: New file. |