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