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