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