c++: Fix guard variable and attribute weak.
[gcc.git] / gcc / objcp / ChangeLog
1 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2
3 Update copyright years.
4
5 2019-05-10 Jakub Jelinek <jakub@redhat.com>
6
7 PR pch/90326
8 * config-lang.in (gtfiles): Don't add c-family/c-cppbuiltin.c.
9
10 2019-01-01 Jakub Jelinek <jakub@redhat.com>
11
12 Update copyright years.
13
14 2018-10-17 David Malcolm <dmalcolm@redhat.com>
15
16 * Make-lang.in (selftest-obj-c++): New.
17
18 2018-05-07 Nathan Sidwell <nathan@acm.org>
19
20 * objcp-lang.c (objcxx_init_ts): Don't call init_shadowed_var_for_decl.
21
22 2018-01-03 Jakub Jelinek <jakub@redhat.com>
23
24 Update copyright years.
25
26 2017-07-03 Nathan Sidwell <nathan@acm.org>
27
28 * config-lang.in: Source cp/config-lang.in, sort objc++ gtfiles list.
29
30 2017-06-02 Nathan Sidwell <nathan@acm.org>
31
32 * objcp-decl.h (SIZEOF_OBJC_TYPE_LANG_SPECIFIC): Use lang_type.
33 (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use it. Don't set
34 u.c.h.is_lang_type_class.
35
36 2017-01-01 Jakub Jelinek <jakub@redhat.com>
37
38 Update copyright years.
39
40 2016-01-04 Jakub Jelinek <jakub@redhat.com>
41
42 Update copyright years.
43
44 2015-11-13 Jason Merrill <jason@redhat.com>
45
46 * config-lang.in (gtfiles): Add cp-gimplify.c.
47
48 2015-11-11 Andrew MacLeod <amacleod@redhat.com>
49
50 * objcp-decl.c: Remove unused header files.
51 * objcp-lang.c: Likewise.
52
53 2015-10-29 Andrew MacLeod <amacleod@redhat.com>
54
55 * objcp-decl.c: Reorder #include's and remove duplicates.
56 * objcp-lang.c: Likewise.
57
58 2015-07-07 Andrew MacLeod <amacleod@redhat.com>
59
60 * objcp-decl.c: Adjust includes.
61 * objcp-lang.c: Likewise.
62
63 2015-06-17 Andrew MacLeod <amacleod@redhat.com>
64
65 * objcp-decl.c: Do not include input.h, line-map.h or is-a.h.
66 * objcp-lang.c: Likewise.
67
68 2015-06-08 Andrew MacLeod <amacleod@redhat.com>
69
70 * objcp-decl.c : Adjust include files.
71 * objcp-lang.c : Likewise.
72
73 2015-06-04 Andrew MacLeod <amacleod@redhat.com>
74
75 * objcp-decl.c: Adjust includes for restructured coretypes.h.
76 * objcp-lang.c: Likewise.
77
78 2015-04-27 Jim Wilson <jim.wilson@linaro.org>
79
80 * Make-lang.in (obj-c++.mostlyclean): Remove cc1objplus.
81
82 2015-01-09 Michael Collison <michael.collison@linaro.org>
83
84 * objcp-decl.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
85 input.h, alias.h, symtab.h, options, fold-const.h,
86 wide-int.h, and inchash.h due to flattening of tree.h.
87 * objcp-lang.c: Ditto.
88
89 2014-12-31 Iain Sandoe <iain@codesourcery.com>
90
91 * config-lang.in (gtfiles): Update list.
92
93 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
94
95 * objcp-decl.h: Adjust.
96
97 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
98
99 * objcp-decl.h (OBJC_TYPE_NAME, OBJC_SET_TYPE_NAME): Use
100 TYPE_IDENTIFIER.
101
102 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
103
104 Update copyright years
105
106 2013-09-25 Tom Tromey <tromey@redhat.com>
107
108 * Make-lang.in (START_HDRS, cc1objplus-checksum.o)
109 (objcp/objcp-lang.o, objcp/objcp-decl.o
110 (objcp/objc-runtime-shared-support.o)
111 (objcp/objc-gnu-runtime-abi-01.o objcp/objc-next-runtime-abi-01.o)
112 (objcp/objc-next-runtime-abi-02.o, objcp/objcp-act.o)
113 (objcp/objc-encoding.o, objcp/objc-map.o): Use COMPILE and
114 POSTCOMPILE. Remove explicit dependencies.
115
116 2013-05-16 Jason Merrill <jason@redhat.com>
117
118 * Make-lang.in (cc1objplus$(exeext)): Use link mutex.
119
120 2012-06-02 Jason Merrill <jason@redhat.com>
121
122 * objcp-decl.c (objcp_start_struct): Adjust for change in
123 begin_class_definition prototype.
124
125 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
126
127 * Make-lang.in (OBJCXX_OBJS): Added objc-map.o.
128 (objcp/objc-map.o): New rule.
129 (objcp/objcp-act.o): Depend on objc/objc-map.h.
130 * config-lang.in (gtfiles): Added objc-map.h.
131
132 2011-07-11 Nicola Pero <nicola.pero@meta-innovation.com>
133
134 * Make-lang.in (objcp/objc-runtime-shared-support.o): Do not
135 depend on OBSTACK_H.
136 (objcp/objc-gnu-runtime-abi-01.o): Likewise.
137 (objcp/objc-next-runtime-abi-01.o): Likewise.
138 (objcp/objc-next-runtime-abi-02.o): Likewise.
139 (objcp/objcp-act.o): Likewise.
140
141 2011-07-04 Nicola Pero <nicola.pero@meta-innovation.com>
142
143 * Make-lang.in (OBJCXX_OBJS): Added objc-encoding.o.
144 (objcp/objcp-lang.o): Reordered dependencies. Depend on GGC_H.
145 (objcp/objcp-decl.o): Reordered dependencies.
146 (objcp/objc-runtime-shared-support.o): Reordered dependencies.
147 Updated them to be identical to the corresponding new objc/ ones,
148 with the addition of objcp-decl.h.
149 (objcp/objc-runtime-shared-support.o): Likewise.
150 (objcp/objc-gnu-runtime-abi-01.o): Likewise.
151 (objcp/objc-next-runtime-abi-01.o): Likewise.
152 (objcp/objc-next-runtime-abi-02.o): Likewise.
153 (objcp/objcp-act.o): Reordered dependencies. Added dependency on
154 objc-encoding.h.
155 (objcp/objc-encoding.o): New rule.
156
157 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
158
159 * objcp-decl.c (objcp_finish_struct): Use
160 objc_detect_field_duplicates instead of having a local
161 implementation.
162
163 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
164
165 * objcp-lang.c (objcxx_init_ts): Call objc_common_init_ts and
166 cp_common_init_ts.
167
168 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com>
169
170 PR bootstrap/48167
171 * Make-lang.in (START_HDRS): Added CXX_PARSER_H and
172 CXX_PRETTY_PRINT_H.
173 * config-lang.in (gtfiles): Added cp/parser.h and reorganized list
174 so that it is more obvious that it is identical to the C++ one
175 with the addition of some files at the end.
176
177 2011-03-06 Joseph Myers <joseph@codesourcery.com>
178
179 * lang-specs.h: Match -save-temps* instead of -save-temps.
180
181 2011-02-20 Nicola Pero <nicola.pero@meta-innovation.com>
182
183 PR objc++/47711
184 * config-lang.in (gtfiles): Updated list.
185
186 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
187
188 * Make-lang.in (START_HDRS): New.
189 (OBJCXX_OBJS): Added new object files from objc/.
190 (objcp/objcp-act.o): Updated prerequisites.
191 (objcp/objcp-lang.o): Updated prerequisites.
192 (objcp/objc-runtime-shared-support.o): New.
193 (objcp/objc-gnu-runtime-abi-01.o): New.
194 (objcp/objc-next-runtime-abi-01.o): New.
195 (objcp/objc-next-runtime-abi-02.o): New.
196 * config-lang.in (gtfiles): Updated.
197 * objcp-lang.c (objcxx_eh_personality): Removed.
198 (LANG_HOOKS_EH_PERSONALITY): Removed.
199 (LANG_HOOKS_EH_RUNTIME_TYPE): Removed.
200 (objcp_eh_personality_decl): Removed.
201
202 2011-02-07 Mike Stump <mikestump@comcast.net>
203
204 * Make-lang.in (obj-c++.tags): Don't include *.y.
205
206 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
207
208 * objcp-lang.c (objcp_tsubst_copy_and_build): Update call to
209 objc_finish_message_expr.
210
211 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
212
213 * config-lang.in (gtfiles): Added c-family/c-cppbuiltin.c.
214
215 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
216
217 * config-lang.in (gtfiles): Added c-family/c-objc.h.
218 * Make-lang.in (objcp/objcp-act.o): Depend on
219 c-family/c-objc.h.
220 (objcp/objcp-lang.o): Same change.
221 (objcp/objcp-decl.o): Same change.
222 * objcp-lang.c: Include c-family/c-objc.h.
223 * objcp-decl.c: Same change.
224
225 2010-11-23 Nicola Pero <nicola.pero@meta-innovation.com>
226
227 PR objc/24358
228 * lang-specs.h: Print a deprecation note every time
229 objc++-cpp-output is requested.
230
231 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
232
233 * objcp-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Do not define.
234
235 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
236
237 * objcp-lang.c (finish_file): Removed.
238
239 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
240
241 merge from FSF apple 'trunk' branch.
242 2006 Fariborz Jahanian <fjahanian@apple.com>
243
244 Radars 4436866, 4505126, 4506903, 4517826
245 * objcp-lang.c (objcxx_init_ts): Update for property_decl.
246
247 2010-10-13 Richard Henderson <rth@redhat.com>
248
249 * objcp-lang.c (objcxx_eh_personality): Update call to
250 build_personality_function.
251
252 2010-10-11 Andi Kleen <ak@linux.intel.com>
253
254 * Make-lang.in (cc1objplus-checksum.c): Use correct temporary
255 name.
256
257 2010-10-07 Andi Kleen <ak@linux.intel.com>
258
259 * Make-lang.in (cc1objplus-dummy): Remove.
260 (cc1objplus-checksum): Change to run checksum over object files
261 and options only.
262
263 2010-10-04 Andi Kleen <ak@linux.intel.com>
264
265 * Make-lang.in (cc1objplus-dummy, cc1objplus): Add + to build rule.
266
267 2010-09-28 Richard Henderson <rth@redhat.com>
268
269 * objcp-lang.c: Include "target.h".
270 (objcxx_eh_personality): Use targetm.except_unwind_info.
271 * Make-lang.in (objcp-lang.o): Update deps.
272
273 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
274
275 PR objc/25965
276 * objcp-decl.c (objcp_finish_struct): Call
277 objc_get_interface_ivars() and check for duplicate ivars.
278
279 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
280
281 * objcp-lang.c: Do not include except.h.
282 * Make-lang.in: Update dependencies.
283
284 2010-06-25 Joseph Myers <joseph@codesourcery.com>
285
286 * lang-specs.h: Remove +e handling.
287
288 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
289
290 * objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
291 allocation.
292
293 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
294
295 * objcp-lang.c: Update include path for moved files.
296 * config-lang.in: Update paths in gtfiles for files in c-family/.
297
298 2010-05-25 Steven Bosscher <steven@gcc.gnu.org>
299
300 * objcp-decl.c: Do not include tm.h, rtl.h, expr.h, c-common.h,
301 flags.h, input.h, except.h, output.h, toplev.h, cpplib.h, debug.h,
302 and target.h.
303 * objcp-lang.c: Do not include tm.h, toplev.h, diagnostics.h,
304 and debug.h. Explain why except.h has to be included.
305 * Make-lang.in: Update dependencies.
306
307 2010-04-30 Steven Bosscher <steven@gcc.gnu.org>
308
309 * objcp-decl.c: Do not include varray.h.
310
311 2009-09-22 Richard Guenther <rguenther@suse.de>
312
313 PR objc++/41430
314 * Make-lang.in (objcp-lang.o): Add $(EXCEPT_H) dependency.
315 * objcp-lang.c (LANG_HOOKS_EH_PERSONALITY): Define.
316 (LANG_HOOKS_EH_RUNTIME_TYPE): Likewise.
317 (objcxx_eh_personality): New function.
318
319 2009-09-03 Diego Novillo <dnovillo@google.com>
320
321 * objcp-lang.c (lang_hooks): Remove const qualifier.
322
323 2009-07-14 Taras Glek <tglek@mozilla.com>
324 Rafael Espindola <espindola@google.com>
325
326 * Make-lang.in (obj-c.install-plugin): New target for
327 installing plugin headers.
328
329 2009-06-19 Ian Lance Taylor <iant@google.com>
330
331 * objcp-decl.h (start_struct): Remove in_struct and struct_types
332 parameters. Add struct_info parameter.
333 (finish_struct): Likewise.
334
335 2009-06-13 Aldy Hernandez <aldyh@redhat.com>
336
337 * objcp-decl.h (start_struct): Add location argument.
338 (finish_struct): Same.
339 (finish_decl): New.
340
341 2009-06-12 Aldy Hernandez <aldyh@redhat.com>
342
343 * objcp-decl.h (c_end_compound_stmt): New argument.
344 * objcp-decl.c (objcp_start_struct): Add argument.
345 (objcp_finish_struct): Same.
346
347 2009-06-03 Ian Lance Taylor <iant@google.com>
348
349 * Make-lang.in (cc1objplus-checksum.o): Depend upon $(CONFIG_H)
350 and $(SYSTEM_H).
351
352 2009-05-27 Ian Lance Taylor <iant@google.com>
353
354 * Make-lang.in (cc1objplus-dummy$(exeext)): Change $(COMPILER) to
355 $(LINKER).
356 (cc1objplus$(exeext)): Likewise.
357
358 2009-05-26 Ian Lance Taylor <iant@google.com>
359
360 * Make-lang.in (cc1objplus-dummy$(exeext)): Use $(COMPILER).
361 (cc1objplus$(exeext), objcp/objcp-act.o): Likwise.
362
363 2009-05-10 Ian Lance Taylor <iant@google.com>
364
365 * objcp-decl.h (start_struct): Add three new, ignored, macro
366 parameters.
367 (finish_struct): Add two new, ignored, macro parameters.
368
369 2009-04-21 Joseph Myers <joseph@codesourcery.com>
370
371 * ChangeLog: Add copyright and license notices.
372
373 2008-12-05 Sebastian Pop <sebastian.pop@amd.com>
374
375 PR bootstrap/38262
376 * Make-lang.in (cc1objplus-dummy, cc1objplus): Add BACKENDLIBS,
377 remove GMPLIBS.
378
379 2008-09-17 Andrew Pinski <andrew_pinski@playstation.sony.com>
380
381 PR objc/37460
382 * objcp-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define.
383
384 2008-04-03 Tom Tromey <tromey@redhat.com>
385
386 * Make-lang.in (obj-c++_OBJS): New variable.
387
388 2008-03-27 Tom Tromey <tromey@redhat.com>
389
390 * Make-lang.in: Revert automatic dependency patch.
391
392 2008-03-25 Tom Tromey <tromey@redhat.com>
393
394 * Make-lang.in (obj-c++_OBJS): Rename from objcp_OBJS.
395 (objcp/objcp-act.o): Restore target.
396
397 2008-03-25 Tom Tromey <tromey@redhat.com>
398
399 * Make-lang.in (objcp_OBJS): New variable.
400 (cc1objplus-checksum.o, objcp/objcp-lang.o, objcp/objcp-decl.o,
401 objcp/objcp-act.o): Remove.
402
403 2008-03-07 Paolo Bonzini <bonzini@gnu.org>
404
405 Revert:
406
407 2008-02-07 Andreas Tobler <andreast-list@fgznet.ch>
408 Douglas Gregor <doug.gregor@gmail.com>
409
410 PR bootstrap/35115
411 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
412
413 2008-02-07 Andreas Tobler <andreast-list@fgznet.ch>
414 Douglas Gregor <doug.gregor@gmail.com>
415
416 PR bootstrap/35115
417 * objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
418
419 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
420
421 PR other/35107
422 * Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS).
423
424 2007-08-02 Nick Clifton <nickc@redhat.com>
425
426 * Make-lang.in: Change copyright header to refer to version 3 of
427 the GNU General Public License and to point readers at the
428 COPYING3 file and the FSF's license web page.
429 * lang-specs.h, objcp-decl.c, objcp-decl.h, config-lang.in,
430 objcp-lang.c: Likewise.
431
432 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
433
434 * Make-lang.in: Add dummy lang.install-pdf target.
435
436 2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
437
438 * objcp-decl.h (objcp_builtin_function): Remove.
439
440 2006-10-10 Brooks Moses <bmoses@stanford.edu>
441
442 * Make-lang.in: Added empty "obj-c++.pdf" target.
443
444 2006-08-20 Mark Mitchell <mark@codesourcery.com>
445
446 * objcp-lang.c (objcp_tsubst_copy_and_build): Adjust call to
447 tsubst_copy_and_build.
448
449 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
450
451 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
452
453 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
454
455 PR other/27063
456 * config-lang.in: Add subdir_requires.
457
458 2006-06-30 Jason Merrill <jason@redhat.com>
459
460 * objcp-decl.c (objcp_start_struct): Pass null attributes argument
461 to begin_class_definition.
462
463 2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
464
465 * Make-lang.in (objcp/objcp-decl.o): Add dependency on
466 $(TARGET_H).
467
468 2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
469
470 * Make-lang.in (OBJ-C++): Remove
471 (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++
472
473 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
474
475 * Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H).
476
477 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
478
479 * Make-lang.in (obj-c++.all.build, obj-c++.install-normal): Remove.
480
481 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
482
483 * Make-lang.in: Remove all dependencies on s-gtype.
484
485 2005-11-22 Andrew Pinski <pinskia@physics.uc.edu>
486
487 * objcp-decl.c (objcp_lookup_name): Remove.
488 * objcp-decl.h (objcp_lookup_name): Delete.
489 (lookup_name): Kill define.
490
491 2005-09-11 Richard Henderson <rth@redhat.com>
492
493 * objcp-lang.c (objcxx_init_ts): Remove ALIAS_DECL.
494
495 2005-07-09 Andrew Pinski <pinskia@physics.uc.edu>
496
497 * config-lang.in (gtfiles): Add cp-objcp-common.c.
498 * objcp-lang.c (objcxx_init_ts): New function.
499 (LANG_HOOKS_INIT_TS): Define.
500
501 2005-07-03 Kazu Hirata <kazu@codesourcery.com>
502
503 * Make-lang.in (cc1plus-checksum.c): Use
504 build/genchecksum$(build_exeext), not build/genchecksum$(exeext).
505
506 2005-06-30 Zack Weinberg <zack@codesourcery.com>
507 Jakub Jelinek <jakub@redhat.com>
508
509 * objcp-lang.c: No need to include cxx-pretty-print.h.
510 * Make-lang.in: Update dependencies.
511
512 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
513
514 * all files: Update FSF in copyright headers.
515
516 2005-06-20 Ziemowit Laski <zlaski@apple.com>
517
518 * config-lang.in (gtfiles): Add cp/rtti.c.
519
520 2005-05-24 Ziemowit Laski <zlaski@apple.com>
521
522 * objcp-decl.c (objcp_start_struct, objcp_xref_tag): Adjust
523 call to xref_tag().
524 (objcp_build_component_ref): Remove function.
525 * objcp-decl.h (objcp_build_component_ref): Remove prototype.
526 (build_component_ref): Remove macro.
527 * objcp-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.
528
529 2005-05-18 Geoffrey Keating <geoffk@apple.com>
530
531 * Make-lang.in (cc1objplus-dummy): New.
532 (cc1objplus-checksum.c): New.
533 (cc1objplus-checksum.o): New.
534 (cc1objplus): Add cc1objplus-checksum.o.
535
536 2005-05-17 Ziemowit Laski <zlaski@apple.com>
537 Mike Stump <mrs@apple.com>
538
539 Yet more Objective-C++...
540
541 * Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h
542 (objcp/objcp-decl.o): Likewise.
543 (objcp/objcp-act.o): Likewise.
544 * objcp-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Add.
545
546 2005-04-21 Ziemowit Laski <zlaski@apple.com>
547 Mike Stump <mrs@apple.com>
548
549 * ChangeLog: New.
550 * Make-lang.in: Likewise.
551 * config-lang.in: Likewise.
552 * lang-specs.h: Likewise.
553 * objcp-decl.c: Likewise.
554 * objcp-decl.h: Likewise.
555 * objcp-lang.c: Likewise.
556
557 \f
558 Copyright (C) 2005-2020 Free Software Foundation, Inc.
559
560 Copying and distribution of this file, with or without modification,
561 are permitted in any medium without royalty provided the copyright
562 notice and this notice are preserved.