OSDN Git Service

2011-11-08 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2011-11-08  Richard Guenther  <rguenther@suse.de>
2
3         PR middle-end/51010
4         c-family/
5
6 2011-11-07  Richard Henderson  <rth@redhat.com>
7             Aldy Hernandez  <aldyh@redhat.com>
8             Torvald Riegel  <triegel@redhat.com>
9
10         Merged from transactional-memory.
11
12         * c-common.c (handle_tm_wrap_attribute,
13         handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
14         (struct c_common_reswords): Added __transaction* keywords.
15         (struct c_common_attribute_table): Added transaction* and tm_regparm
16         attributes.
17         * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
18         masks.
19         (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
20         find_tm_attribute): Declare.
21
22 2011-11-07  Jason Merrill  <jason@redhat.com>
23
24         PR c++/35688
25         * c-common.c, c-common.h: Revert yesterday's changes.
26
27 2011-11-06  Jason Merrill  <jason@redhat.com>
28
29         PR c++/35688
30         * c-common.c (decl_has_visibility_attr): Split out from...
31         (c_determine_visibility): ...here.
32         * c-common.h: Declare it.
33
34 2011-11-06  Joseph Myers  <joseph@codesourcery.com>
35
36         * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
37         (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
38         type.
39         (check_user_alignment): New.  Split out of
40         handle_aligned_attribute.  Disallow integer constants with
41         noninteger types.  Conditionally allow zero.
42         (handle_aligned_attribute): Use check_user_alignment.
43         * c-common.h (RID_ALIGNAS, check_user_alignment): New.
44
45 2011-11-06  Andrew MacLeod  <amacleod@redhat.com>
46             Richard Henderson  <rth@redhat.com>
47
48         Merged from cxx-mem-model.
49
50         * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
51         * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak 
52         parameters that are the same type size.
53         (get_atomic_generic_size): New.  Find size of generic
54         atomic function parameters and do typechecking.
55         (add_atomic_size_parameter): New.  Insert size into parameter list.
56         (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
57         either __atomic_exchange_n or external library call.
58         (resolve_overloaded_atomic_compare_exchange): Restructure 
59         __atomic_compare_exchange to either _n variant or external library call.
60         (resolve_overloaded_atomic_load): Restructure __atomic_load to either 
61         __atomic_load_n or an external library call.
62         (resolve_overloaded_atomic_store): Restructure __atomic_store to either
63         __atomic_store_n or an external library call.
64         (resolve_overloaded_builtin): Handle new __atomic builtins.
65
66 2011-11-04  Eric Botcazou  <ebotcazou@adacore.com>
67
68         PR c++/50608
69         * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
70         (fold_offsetof_1): Make global.  Remove STOP_REF argument and adjust.
71         <INDIRECT_REF>: Return the argument.
72         <ARRAY_REF>: Remove special code for negative offset.
73         Call fold_build_pointer_plus instead of size_binop.
74         (fold_offsetof): Remove STOP_REF argument and adjust.
75         * c-common.h (fold_offsetof_1): Declare.
76         (fold_offsetof): Remove STOP_REF argument.
77
78 2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
79
80         PR c++/50810
81         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
82         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
83         Wnarrowing for C++0x and C++98.
84         * c.opt ([Wnarrowing]): Update.
85
86 2011-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
87
88         PR c++/44277
89         * c.opt: Add Wzero-as-null-pointer-constant.
90
91 2011-10-31  Jason Merrill  <jason@redhat.com>
92
93         * c.opt (-fdeduce-init-list): Off by default.
94
95         PR c++/50920
96         * c-common.h (cxx_dialect): Add cxx11 and cxx03.
97         * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
98         and -Wc++11-compat.
99         * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
100
101 2011-10-27  Roberto Agostino Vitillo  <ravitillo@lbl.gov>
102
103         PR c++/30066
104         * c.opt (fvisibility-inlines-hidden): Description change.
105
106 2011-10-26  Ed Smith-Rowland  <3dw4rd@verizon.net>
107
108         Implement C++11 user-defined literals.
109         * c-common.c (build_userdef_literal): New.
110         * c-common.def: New tree code.
111         * c-common.h (tree_userdef_literal): New tree struct and accessors.
112         * c-lex.c (interpret_float): Add suffix parm.
113         (c_lex_with_flags): Build literal tokens.
114
115 2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
116
117         PR c++/50841
118         Revert:
119         2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
120
121         PR c++/50810
122         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
123         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
124         Wnarrowing for C++0x and C++98.
125         * c.opt ([Wnarrowing]): Update.
126
127 2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
128
129         PR c++/50810
130         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
131         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
132         Wnarrowing for C++0x and C++98.
133         * c.opt ([Wnarrowing]): Update.
134
135 2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>
136
137         PR c++/45385
138         * c-common.c (conversion_warning): Remove code looking for
139         artificial operands.
140
141 2011-10-18  Dodji Seketeli  <dodji@redhat.com>
142
143         PR bootstrap/50760
144         * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
145         !NO_IMPLICIT_EXTERN_C.
146
147 2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
148
149         * c-common.c (c_common_reswords): Add __bases,
150         __direct_bases.
151         * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
152
153 2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
154
155         PR c++/50757
156         * c.opt ([Wnonnull]): Add C++ and Objective-C++.
157
158 2011-10-15  Tom Tromey  <tromey@redhat.com>
159             Dodji Seketeli  <dodji@redhat.com>
160
161         * c.opt (fdebug-cpp): New option.
162         * c-opts.c (c_common_handle_option): Handle the option.
163         * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
164         output stream in parameter. Factorized from ...
165         (maybe_print_line): ... this. Dump location debug information when
166         -fdebug-cpp is in effect.
167         (print_line_1): New static function. Takes an output stream in
168         parameter. Factorized from ...
169         (print_line): ... here. Dump location information when -fdebug-cpp
170         is in effect.
171         (scan_translation_unit): Dump location information when
172         -fdebug-cpp is in effect.
173
174 2011-10-15  Tom Tromey  <tromey@redhat.com>
175             Dodji Seketeli  <dodji@redhat.com>
176
177         * c.opt (ftrack-macro-expansion): New option. Handle it with and
178         without argument.
179         * c-opts.c (c_common_handle_option)<case
180         OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
181         cases. Handle -ftrack-macro-expansion with and without argument.
182
183 2011-10-15  Tom Tromey  <tromey@redhat.com>
184             Dodji Seketeli  <dodji@redhat.com>
185
186         * c-ppoutput.c (scan_translation_unit, maybe_print_line)
187         (print_line, cb_define, do_line_change): Adjust to avoid touching
188         the internals of struct line_map.  Use the public API instead.
189         * c-pch.c (c_common_read_pch): Likewise.
190         * c-lex.c (fe_file_change): Likewise.
191
192 2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
193
194         PR c++/17212
195         * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
196
197 2011-10-11  Paolo Carlini  <paolo.carlini@oracle.com>
198
199         PR c++/33067
200         * c-pretty-print.c (pp_c_floating_constant): Output
201         max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
202
203 2011-10-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
204
205         * c-common.c (def_builtin_1): Delete old interface with two
206         parallel arrays to hold standard builtin declarations, and replace
207         it with a function based interface that can support creating
208         builtins on the fly in the future.  Change all uses, and poison
209         the old names.  Make sure 0 is not a legitimate builtin index.
210         * c-omp.c (c_finish_omp_barrier): Ditto.
211         (c_finish_omp_taskwait): Ditto.
212         (c_finish_omp_flush): Ditto.
213
214 2011-10-11  Tristan Gingold  <gingold@adacore.com>
215
216         * c.opt: (fallow-parameterless-variadic-functions): New.
217
218 2011-09-08  Dodji Seketeli  <dodji@redhat.com>
219
220         PR c++/33255 - Support -Wunused-local-typedefs warning
221         * c-common.h (struct c_language_function::local_typedefs): New
222         field.
223         (record_locally_defined_typedef, maybe_record_typedef_use)
224         (maybe_warn_unused_local_typedefs): Declare new functions.
225         * c-common.c (record_locally_defined_typedef)
226         (maybe_record_typedef_use)
227         (maybe_warn_unused_local_typedefs): Define new functions.
228         * c.opt: Declare new -Wunused-local-typedefs flag.
229
230 2011-09-06  Eric Botcazou  <ebotcazou@adacore.com>
231
232         PR middle-end/50266
233         * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
234         computations.
235
236 2011-09-05  Richard Guenther  <rguenther@suse.de>
237
238         * c-common.c (complete_array_type): Use ssize_int (-1) instead
239         of integer_minus_one_node for empty array upper bounds.
240
241 2011-08-28  Dodji Seketeli  <dodji@redhat.com>
242
243         * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
244         it's the first time it's being called on this main TU.
245
246 2011-08-24  Richard Guenther  <rguenther@suse.de>
247
248         PR c/49396
249         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
250
251 2011-08-22  Gabriel Charette  <gchare@google.com>
252
253         * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
254         defined in cpp_init_builtins and c_cpp_builtins.
255
256 2011-08-19  Joseph Myers  <joseph@codesourcery.com>
257
258         * c-common.c (c_common_reswords): Add __builtin_complex.
259         * c-common.h (RID_BUILTIN_COMPLEX): New.
260
261 2011-08-18  Joseph Myers  <joseph@codesourcery.com>
262
263         * c-common.c (c_common_reswords): Add _Noreturn.
264         (keyword_is_function_specifier): Handle RID_NORETURN.
265         * c-common.h (RID_NORETURN): New.
266
267 2011-08-10  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
268
269         * c-common.c (unsafe_conversion_p): New function. Check if it is
270         unsafe to convert an expression to the type.
271         (conversion_warning): Adjust, use unsafe_conversion_p.
272         * c-common.h (unsafe_conversion_p): New function declaration.
273
274 2011-08-02  Jakub Jelinek  <jakub@redhat.com>
275
276         * c-common.h (c_finish_omp_atomic): Adjust prototype.
277         (c_finish_omp_taskyield): New prototype.
278         * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
279         arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
280         OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC.  If LHS1
281         or RHS1 have side-effects, evaluate those too in the right spot,
282         if it is a decl and LHS is also a decl, error out if they
283         aren't the same.
284         (c_finish_omp_taskyield): New function.
285         * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
286         * c-pragma.c (omp_pragmas): Add taskyield.
287         * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
288         (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
289         PRAGMA_OMP_CLAUSE_MERGEABLE.
290
291 2011-07-25  Dodji Seketeli  <dodji@redhat.com>
292
293         * c-common.h (set_underlying_type): Remove parm name from
294         declaration.
295
296 2011-07-25  Romain Geissler  <romain.geissler@gmail.com>
297
298         * c-pretty-print.h: Search c-common.h in c-family.
299         
300 2011-07-22  Jason Merrill  <jason@redhat.com>
301
302         PR c++/49793
303         * c.opt (Wnarrowing): New.
304
305         PR c++/30112
306         * c-common.h: Declare c_linkage_bindings.
307         * c-pragma.c (handle_pragma_redefine_extname): Use it.
308
309         PR c++/49813
310         * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
311         * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
312         as flag_isoc99 for 'restrict'.
313         (pp_c_specifier_qualifier_list): Likewise for _Complex.
314
315 2011-07-21  Ian Lance Taylor  <iant@google.com>
316
317         PR middle-end/49705
318         * c-common.c (c_disable_warnings): New static function.
319         (c_enable_warnings): New static function.
320         (c_fully_fold_internal): Change local unused_p to bool.  Call
321         c_disable_warnings and c_enable_warnings rather than change
322         c_inhibit_evaluation_warnings.
323
324 2011-07-20  Jason Merrill  <jason@redhat.com>
325
326         PR c++/6709 (DR 743)
327         PR c++/42603 (DR 950)
328         * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
329         (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
330         (CPP_DECLTYPE): New.
331         * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
332
333 2011-07-19  Richard Guenther  <rguenther@suse.de>
334
335         * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
336         * c-omp.c (c_finish_omp_for): Likewise.
337
338 2011-07-12  Eric Botcazou  <ebotcazou@adacore.com>
339
340         * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
341         body on the next line.
342
343 2011-07-08  Jason Merrill  <jason@redhat.com>
344
345         PR c++/45437
346         * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
347
348         PR c++/49673
349         * c-common.c (c_apply_type_quals_to_decl): Don't check
350         TYPE_NEEDS_CONSTRUCTING.
351
352 2011-07-06  Richard Guenther  <rguenther@suse.de>
353
354         * c-common.c (c_common_nodes_and_builtins):
355         Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
356
357 2011-07-05  Richard Guenther  <rguenther@suse.de>
358
359         * c-common.c (c_common_nodes_and_builtins): Build all common
360         tree nodes first.
361
362 2011-06-27  Jakub Jelinek  <jakub@redhat.com>
363
364         * c-common.h (c_tree_chain_next): New static inline function.
365
366         * c-common.c (check_builtin_function_arguments): Handle
367         BUILT_IN_ASSUME_ALIGNED.
368
369 2011-06-21  Andrew MacLeod  <amacleod@redhat.com>
370
371         * c-common.c: Add sync_ or SYNC__ to builtin names.
372         * c-omp.c: Add sync_ or SYNC__ to builtin names.
373
374 2011-06-20  Pierre Vittet  <piervit@pvittet.com>
375
376         * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
377         handler.
378         (gen_pragma_handler): New union.
379         (internal_pragma_handler): New type.
380         (c_register_pragma_with_data)
381         (c_register_pragma_with_expansion_and_data): New functions.
382
383         * c-pragma.c (registered_pragmas, c_register_pragma_1)
384         (c_register_pragma, c_register_pragma_with_expansion)
385         (c_invoke_pragma_handler): Changed to work with
386         internal_pragma_handler.
387         (c_register_pragma_with_data)
388         (c_register_pragma_with_expansion_and_data): New functions.
389
390 2011-06-14  Joseph Myers  <joseph@codesourcery.com>
391
392         * c-common.c: Include common/common-target.h.
393         (handle_section_attribute): Use
394         targetm_common.have_named_sections.
395         * c-cppbuiltin.c: Include common/common-target.h.
396         (c_cpp_builtins): Use targetm_common.except_unwind_info.
397
398 2011-06-10  Richard Guenther  <rguenther@suse.de>
399
400         * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
401         to print a IDENTIFIER_NODE.
402
403 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
404             Joseph Myers  <joseph@codesourcery.com>
405
406         * c.opt (fbuilding-libgcc): New option.
407         * c-cppbuiltin.c (c_cpp_builtins): Define
408         __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
409
410 2011-06-07  Jason Merrill  <jason@redhat.com>
411
412         * c-common.c (max_tinst_depth): Lower default to 900.
413
414         * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
415
416 2011-06-07  Richard Guenther  <rguenther@suse.de>
417
418         * c-common.c (c_common_nodes_and_builtins): Do not set
419         size_type_node or call set_sizetype.
420
421 2011-06-07  Dodji Seketeli  <dodji@redhat.com>
422
423         PR debug/49130
424         * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
425         type when using pointer comparison to compare types.
426
427 2011-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
428
429         * c.opt: Add -Wdelete-non-virtual-dtor.
430         * c-opts.c (c_common_handle_option): Include it in -Wall.
431
432 2011-05-30  Nathan Froyd  <froydnj@gcc.gnu.org>
433
434         PR bootstrap/49190
435
436         Revert:
437         2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
438
439         * c-common.h (struct c_common_identifier): Inherit from tree_typed,
440         not tree_common.
441
442 2011-05-27  Jakub Jelinek  <jakub@redhat.com>
443
444         PR c++/49165
445         * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
446         C++ don't call c_common_truthvalue_conversion on void type arms.
447
448 2011-05-27  Nathan Froyd  <froydnj@codesourcery.com>
449
450         * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
451         (stmt_list_stack): Define.
452         (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
453         * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
454
455 2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
456
457         * c-common.c (warning_candidate_p): Check for BLOCKs.
458
459 2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
460
461         * c-common.h (struct c_common_identifier): Inherit from tree_typed,
462         not tree_common.
463
464 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
465
466         * c-common.c (def_fn_type): Remove extra va_end.
467
468 2011-05-23  Jason Merrill  <jason@redhat.com>
469
470         PR c++/48106
471         * c-common.c (c_common_get_narrower): New.
472         (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
473
474 2011-05-23  Nathan Froyd  <froydnj@codesourcery.com>
475
476         * c-common.h (check_function_arguments): Tweak prototype of
477         check_function_arguments.
478         * c-common.c (check_function_arguments): Likewise.  Adjust
479         calls to check_function_nonnull, check_function_format, and
480         check_function_sentinel.
481         (check_function_sentinel): Take a FUNCTION_TYPE rather than
482         separate attributes and typelist arguments.  Use
483         FOREACH_FUNCTION_ARGS to iterate over argument types.
484
485 2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
486
487         * c-common.c (c_common_reswords): Reorder.
488         * c-common.h (rid): Likewise.
489
490 2011-05-10  Nathan Froyd  <froydnj@codesourcery.com>
491
492         * c-common.c (def_fn_type): Don't call build_function_type, call
493         build_function_type_array or build_varargs_function_type_array
494         instead.
495         (c_common_nodes_and_builtins): Likewise.
496
497 2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
498
499         * c-common.c (c_add_case_label): Omit the loc argument to
500         build_case_label.
501         * c-common.h (build_case_label): Remove.
502         * c-semantics.c (build_case_label): Remove.
503
504 2011-05-05  Joseph Myers  <joseph@codesourcery.com>
505
506         * c-objc.h (objc_start_method_definition): Update prototype.
507         * stub-objc.c (objc_start_method_definition): Add extra parameter.
508
509 2011-05-04  Nathan Froyd  <froydnj@codesourcery.com>
510
511         * c-common.c (check_main_parameter_types): Reindent.  Don't use
512         TYPE_ARG_TYPES directly.
513         (handle_nonnull_attribute): Likewise.
514         (sync_resolve_params): Likewise.
515         * c-format.c (handle_format_arg_attribute): Likewise.  Adjust call
516         to check_format_string.
517         (handle_format_attribute): Likewise.
518         (check_format_string): Take a function type to examine instead of
519         a type list.  Use a function_arg_iterator to step through argument
520         types.
521
522 2011-05-04  Richard Guenther  <rguenther@suse.de>
523
524         * c-common.c (fix_string_type): Use size_int for index type bounds.
525         (start_fname_decls): Do not pass NULL to build_int_cst.
526         (c_init_attributes): Likewise.
527         * c-lex.c (c_lex_with_flags): Likewise.
528
529 2011-04-27  Jason Merrill  <jason@redhat.com>
530
531         * c-common.c (make_tree_vector_from_list): New.
532         * c-common.h: Declare it.
533
534 2011-04-26  Richard Guenther  <rguenther@suse.de>
535
536         PR preprocessor/48248
537         * c-ppoutput.c (maybe_print_line): Always optimize newlines
538         for output size with -P.
539
540 2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
541
542         * c-common.c (struct c_common_resword): Add __underlying_type.
543         * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
544
545 2011-04-20  Jim Meyering  <meyering@redhat.com>
546
547         * c-format.c (init_dollar_format_checking): Remove useless
548         if-before-free.
549
550 2011-04-15  Nicola Pero  <nicola.pero@meta-innovation.com>
551
552         * c-objc.h (objc_get_interface_ivars): Removed.
553         (objc_detect_field_duplicates): New.
554         * stub-objc.c: Likewise.
555
556 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
557
558         * stub-objc.c (objc_declare_protocols): Renamed to
559         objc_declare_protocol.
560         * c-objc.h: Likewise.
561
562 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
563
564         * stub-objc.c (objc_declare_class): Updated argument name.
565
566 2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
567
568         * c-common.h (c_common_init_ts): Declare.
569         * c-common.c (c_common_init_ts): Define.
570
571 2011-04-12  Nicola Pero  <nicola.pero@meta-innovation.com>
572
573         * c-objc.h (objc_build_message_expr): Updated prototype.
574         * stub-objc.c (objc_build_message_expr): Likewise.
575         
576 2011-04-12  Martin Jambor  <mjambor@suse.cz>
577
578         * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
579         of cgraph_node.
580
581 2011-04-11  Richard Guenther  <rguenther@suse.de>
582
583         * c-common.c (complete_array_type): Build a range type of
584         proper type.
585
586 2011-04-08  Nathan Froyd  <froydnj@codesourcery.com>
587
588         * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
589         (handle_type_generic_attribute): Likewise.
590
591 2011-04-07  Jason Merrill  <jason@redhat.com>
592
593         PR c++/48450
594         * c-common.c (c_common_truthvalue_conversion): Don't ignore
595         conversion from C++0x scoped enum.
596
597 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
598
599         * c-target-def.h: New file.
600         * c-target.def: New file.
601         * c-target.h: New file.
602         * c-common.c (targetcm): Don't define here.
603         * c-common.h (default_handle_c_option): Declare.
604         * c-format.c: Include c-target.h instead of target.h.
605         * c-opts.c: Include c-target.h instead of target.h.  Explicitly
606         include tm.h.
607         (default_handle_c_option): Move from targhooks.c.
608
609 2011-03-29  Jakub Jelinek  <jakub@redhat.com>
610
611         PR preprocessor/48248
612         * c-ppoutput.c (print): Add src_file field.
613         (init_pp_output): Initialize it.
614         (maybe_print_line): Don't optimize by adding up to 8 newlines
615         if map->to_file and print.src_file are different file.
616         (print_line): Update print.src_file.
617
618 2011-03-25  Kai Tietz  <ktietz@redhat.com>
619
620         * c-ada-spec.c (compare_comment): Use filename_cmp
621         instead of strcmp for filename.
622
623 2011-03-25  Jeff Law  <law@redhat.com>
624
625         * c-family/c-common.c (def_fn_type): Add missing va_end.
626
627 2011-03-25  Jason Merrill  <jason@redhat.com>
628
629         * c.opt: Add -std=c++03.
630
631 2011-03-22  Eric Botcazou  <ebotcazou@adacore.com>
632
633         * c-ada-spec.c (dump_ada_template): Skip non-class instances.
634
635 2011-03-17  Kai Tietz
636
637         PR target/12171
638         * c-pretty-print.c (pp_c_specifier_qualifier_list):
639         Display allowed attributes for function pointer types.
640         (pp_c_attributes_display): New function to display
641         attributes having affects_type_identity flag set to true.
642         * c-pretty-print.h (pp_c_attributes_display): New prototype.
643
644         * c-common.c (c_common_attribute_table):
645         Add new element.
646         (c_common_format_attribute_table): Likewise.
647
648 2011-03-18  Jason Merrill  <jason@redhat.com>
649
650         * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
651         * c-common.h: Don't declare it here.
652         * c-common.c: Or define it here.
653         * c-opts.c (c_common_handle_option): Or set it here.
654
655         PR c++/35315
656         * c-common.c (handle_transparent_union_attribute): Don't
657         make a duplicate type in C++.
658
659 2011-03-15  Jason Merrill  <jason@redhat.com>
660
661         * c-common.c (max_constexpr_depth): New.
662         * c-common.h: Declare it.
663         * c-opts.c (c_common_handle_option): Set it.
664         * c.opt (fconstexpr-depth): New option.
665
666 2011-03-11  Jason Merrill  <jason@redhat.com>
667
668         * c-common.c (attribute_takes_identifier_p): Add missing const.
669
670         PR c++/46803
671         * c-common.c (attribute_takes_identifier_p): Assume that an
672         unknown attribute takes an identifier.
673
674 2011-03-07  Nathan Froyd  <froydnj@codesourcery.com>
675
676         PR c/47786
677         * c-common.c (c_type_hash): Call list_length instead of iterating
678         through DECL_CHAIN.  Rename 'i' to 'n_elements'.
679
680 2011-02-19  Jakub Jelinek  <jakub@redhat.com>
681
682         PR c/47809
683         * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
684
685 2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
686
687         * c.opt (fobjc-abi-version=) New.
688         (fobjc-nilcheck): New.
689
690 2011-02-03  Nathan Froyd  <froydnj@codesourcery.com>
691
692         PR c++/46890
693         * c-common.h (keyword_is_decl_specifier): Declare.
694         * c-common.c (keyword_is_decl_specifier): Define.
695         (keyword_is_function_specifier): New function.
696
697 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
698
699         PR c/47473
700         * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
701         EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
702         REAL_TYPE.
703
704 2011-01-26  Arnaud Charlet  <charlet@adacore.com>
705
706         * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
707
708 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
709
710         PR pch/47430
711         * c-opts.c (c_common_post_options): Call c_common_no_more_pch
712         after init_c_lex if pch_file is set.
713
714 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
715
716         PR c++/43601
717         * c.opt (-fkeep-inline-dllexport): New switch.
718
719 2011-01-12  Richard Guenther  <rguenther@suse.de>
720
721         PR middle-end/32511
722         * c-common.c (handle_weak_attribute): Warn instead of error
723         on declaring an inline function weak.
724
725 2011-01-05  Tom Tromey  <tromey@redhat.com>
726
727         * c-common.h (lvalue_error): Update.
728         * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
729         not error.
730
731 2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
732         
733         PR objc/47075
734         * c-objc.h (objc_finish_message_expr): Added argument to
735         prototype.
736
737 2010-12-22  Nathan Froyd  <froydnj@codesourcery.com>
738
739         * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
740         Use prototype_p.
741
742 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
743
744         * c-objc.h (objc_maybe_warn_exceptions): New.
745         * stub-objc.c (objc_maybe_warn_exceptions): New.        
746
747 2010-12-10  Nathan Froyd  <froydnj@codesourcery.com>
748
749         * c-common.h (readonly_error): Declare.
750         * c-common.c (readonly_error): Define.
751
752 2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
753
754         * c-common.h (invalid_indirection_error): Declare.
755         * c-common.c (invalid_indirection_error): Define.
756
757 2010-12-03  Richard Guenther  <rguenther@suse.de>
758
759         PR c/46745
760         * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
761         (pp_c_unary_expression): Likewise.
762         (pp_c_expression): Likewise.
763
764 2010-11-30  Nicola Pero  <nicola.pero@meta-innovation.com>
765
766         * c-common.h (objc_finish_function): New.
767         (objc_non_volatilized_type): Removed.
768         (objc_type_quals_match): Removed.
769         * stub-objc.c (objc_finish_function): New.
770         (objc_non_volatilized_type): Removed.
771         (objc_type_quals_match): Removed.
772         
773 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
774
775         * c-common.h (parse_optimize_options): Declare.
776         * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
777         c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
778
779 2010-11-29  Joseph Myers  <joseph@codesourcery.com>
780
781         * c-opts.c (check_deps_environment_vars): Use getenv instead of
782         GET_ENVIRONMENT.
783         * c-pch.c (O_BINARY): Don't define here.
784         * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
785
786 2010-11-25  Joseph Myers  <joseph@codesourcery.com>
787
788         * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
789         targetm.except_unwind_info.
790
791 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
792
793         * c-opts.c (c_common_handle_option): Pass location to
794         set_struct_debug_option.
795
796 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
797
798         * c-common.c (visibility_options): Move from ../opts.c.
799         * c-common.h (struct visibility_flags, visibility_options):
800         Declare here.
801         * c-opts.c (finish_options): Rename to c_finish_options.
802         (c_common_init): Update call to finish_options.
803
804 2010-11-22  Nicola Pero  <nicola.pero@meta-innovation.com>
805
806         PR objc/34033
807         * c-lex.c (lex_string): Check that each string in an Objective-C
808         string concat sequence starts with either one or zero '@', and
809         that there are no spurious '@' signs at the end.
810
811 2010-11-20  Joseph Myers  <joseph@codesourcery.com>
812
813         * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
814         HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
815         HANDLE_PRAGMA_VISIBILITY.
816         * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
817         HANDLE_PRAGMA_VISIBILITY): Don't define.
818         (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
819
820 2010-11-20  Nathan Froyd  <froydnj@codesourcery.com>
821
822         PR c++/16189
823         PR c++/36888
824         PR c++/45331
825         * c-common.h (keyword_begins_type_specifier): Declare.
826         (keyword_is_storage_class_specifier): Declare.
827         (keyword_is_type_qualifier): Declare.
828         * c-common.c (keyword_begins_type_specifier): New function.
829         (keyword_is_storage_class_specifier): New function.
830         (keyword_is_type_qualifier): Declare.
831
832 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
833
834         PR c/46547
835         * c-common.c (in_late_binary_op): Define.
836         (c_common_truthvalue_conversion): Check in_late_binary_op before
837         calling c_save_expr.
838         * c-common.h (in_late_binary_op): Declare.
839
840 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
841
842         * c-opts.c (c_common_handle_option): Update calls to
843         set_struct_debug_option.
844
845 2010-11-19  Nicola Pero  <nicola.pero@meta-innovation.com>
846
847         * c-common.h (objc_declare_protocols): Added additional argument.
848         * stub-objc.c (objc_declare_protocol): Same change.
849         
850 2010-11-18  Nathan Froyd  <froydnj@codesourcery.com>
851
852         PR c/33193
853         * c-common.h (build_real_imag_expr): Declare.
854         * c-semantics.c (build_real_imag_expr): Define.
855
856 2010-11-17  Joseph Myers  <joseph@codesourcery.com>
857
858         * c-opts.c (c_common_parse_file): Take no arguments.
859         * c-common.h (c_common_parse_file): Update prototype.
860
861 2010-11-16  Jakub Jelinek  <jakub@redhat.com>
862
863         PR c++/46401
864         * c-common.c (warning_candidate_p): Don't track non-const calls
865         or STRING_CSTs.
866
867 2010-11-15  Ian Lance Taylor  <iant@google.com>
868
869         * c-lex.c (init_c_lex): Set macro debug callbacks if
870         flag_dump_go_spec is set.
871
872 2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
873
874         * c-common.h (objc_build_incr_expr_for_property_ref): New.
875         * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
876
877 2010-11-15  Nathan Froyd  <froydnj@codesourcery.com>
878
879         PR preprocessor/45038
880         * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
881         dialects.
882
883 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
884
885         * c-common.h (c_family_lang_mask): Declare.
886         * c-opts.c (c_family_lang_mask): Make extern.
887         * c-pragma.c (handle_pragma_diagnostic): Use
888         control_warning_option.
889
890 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
891
892         * c-common.c (parse_optimize_options): Update call to
893         decode_options.
894         * c-common.h (c_common_handle_option): Update prototype.
895         * c-opts.c (c_common_handle_option): Take location_t parameter and
896         pass it to other functions.
897
898 2010-11-11  Joseph Myers  <joseph@codesourcery.com>
899
900         * c-opts.c (warning_as_error_callback): Remove.
901         (c_common_initialize_diagnostics): Don't call
902         register_warning_as_error_callback.
903         (c_common_handle_option): Handle -Werror=normalized= here.
904
905 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
906
907         * c-common.c (handle_mode_attribute): Use %' and word "signedness"
908         in diagnostic.
909         * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
910         letter.
911         * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
912         Remove trailing '.' from diagnostics.
913         * c.opt (Wwrite-strings_: Avoid '`' in help text.
914
915 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
916
917         * c-common.c (parse_optimize_options): Pass global_dc to
918         decode_options.
919         * c-opts.c (c_common_handle_option): Pass &global_options to
920         set_Wstrict_aliasing.
921         * c.opt (v): Don't mark Common or document here.
922
923 2010-11-06  Iain Sandoe  <iains@gcc.gnu.org>
924
925         PR target/44981
926         * c-format.c (format_type): New type gcc_objc_string_format_type.
927         (valid_stringptr_type_p): New.
928         (handle_format_arg_attribute): Use valid_stringptr_type_p ().
929         (check_format_string): Pass expected type, use 
930         valid_stringptr_type_p (), check that the format string types are
931         consistent with the format specification.
932         (decode_format_attr): Warn if NSString is used outside objective-c.
933         (format_types_orig): Add NSString.
934         (format_name): New.
935         (format_flags): New.
936         (check_format_arg): Handle format strings requiring an external parser.
937         first_target_format_type: New variable.
938         (handle_format_attribute): Set up first_target_format_type, pass the
939         expected format arg string type to check_format_string().
940         * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL):  New flag.
941         * stub-objc.c (objc_string_ref_type_p): New.
942         (objc_check_format_arg): New.
943
944 2010-11-04  Nicola Pero  <nicola.pero@meta-innovation.com>
945
946         Fixed using the Objective-C 2.0 dot-syntax with class names.    
947         * c-common.h (objc_build_class_component_ref): New.
948         * stub-objc.c (objc_build_class_component_ref): New.
949
950 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
951
952         * c.opt (Wproperty-assign-default): New option.
953
954 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
955
956         Implemented -fobjc-std=objc1 flag.
957         * c.opt (fobjc-std=objc1): New option.
958
959 2010-11-01  Nicola Pero  <nicola.pero@meta-innovation.com>
960
961         Implemented format and noreturn attributes for Objective-C methods.
962         * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
963         attribute for Objective-C methods.
964
965 2010-10-31  Jason Merrill  <jason@redhat.com>
966
967         * c-common.c (conversion_warning, warn_for_collisions_1): Use
968         EXPR_LOC_OR_HERE.
969
970 2010-10-30  Nicola Pero  <nicola.pero@meta-innovation.com>
971
972         Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
973         * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
974         (objc_add_property_declaration): Removed arguments for copies and
975         ivar.
976         (objc_build_getter_call): Renamed to
977         objc_maybe_build_component_ref.
978         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
979         (objc_is_property_ref): New.
980         * c-common.c (c_common_reswords): Removed copies and ivar.
981         * stub-objc.c (objc_add_property_declaration): Removed arguments
982         for copies and ivar.
983         (objc_build_getter_call): Renamed to
984         objc_maybe_build_component_ref.
985         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
986         (objc_is_property_ref): New.
987         
988 2010-10-29  Arnaud Charlet  <charlet@adacore.com>
989             Matthew Gingell  <gingell@adacore.com>
990
991         * c-ada-spec.c (separate_class_package): New function.
992         (pp_ada_tree_identifier): Prefix references to C++ classes with the
993         name of their enclosing package.
994         (print_ada_declaration): Use separate_class_package.
995
996 2010-10-27  Jason Merrill  <jason@redhat.com>
997
998         * c-common.c (c_common_reswords): Add __is_literal_type.
999         * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1000
1001         * c-common.c (check_case_value): Remove special C++ code.
1002
1003 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1004
1005         * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1006         RID_RETAIN, RID_COPY and RID_NONATOMIC.  Updated RID_FIRST_PATTR
1007         and RID_LAST_PATTR.
1008         (objc_add_property_declaration): Added additional arguments.
1009         (objc_property_attribute_kind): Removed.
1010         (objc_set_property_attr): Removed.
1011         * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1012         copy and nonatomic.
1013         * stub-objc.c (objc_add_property_declaration): Added additional
1014         arguments.
1015         (objc_set_property_attr): Removed.
1016         
1017 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1018
1019         * c-common.h (objc_add_property_variable): Renamed to
1020         objc_add_property_declaration.  Added location argument.
1021         * stub-objc.c (objc_add_property_variable): Same change.
1022         
1023 2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
1024
1025         * c-common.h (objc_maybe_printable_name): New.
1026         * stub-objc.c (objc_maybe_printable_name): New.
1027
1028 2010-10-22  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1029         Andrew Pinski <pinskia@gmail.com>
1030
1031         * c-common.h (c_common_mark_addressable_vec): Declare.
1032         * c-common.c (c_common_mark_addressable_vec): New function.
1033
1034 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
1035
1036         * c-common.h (objc_set_method_type): Removed.
1037         (objc_add_method_declaration): Added boolean argument.
1038         (objc_start_method_definition): Same change.
1039         (objc_build_method_signature): Same change.
1040         * stub-objc.c (objc_set_method_type): Removed.
1041         (objc_add_method_declaration): Added boolean argument.
1042         (objc_start_method_definition): Same change.
1043         (objc_build_method_signature): Same change.
1044
1045 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
1046
1047         * c-common.h (finish_file): Removed.
1048         (objc_write_global_declarations): New.
1049         * c-opts.c (c_common_parse_file): Do not call finish_file.
1050         * stub-objc.c (objc_write_global_declarations): New.
1051         
1052 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1053
1054         Implemented parsing @synthesize and @dynamic for
1055         Objective-C/Objective-C++.
1056         * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1057         (objc_add_synthesize_declaration): New.
1058         (objc_add_dynamic_declaration): New.
1059         * c-common.c (c_common_reswords): Add synthesize and dynamic.
1060         * stub-objc.c (objc_add_synthesize_declaration): New.
1061         (objc_add_dynamic_declaration): New.
1062         
1063 2010-10-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
1064
1065         PR target/46041
1066         * c-cppbuiltin.c (mode_has_fma): Move function here from
1067         builtins.c.  Don't use the fma optab, instead just use the
1068         HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1069         using -save-temps.
1070
1071 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1072
1073         Merge from 'apple/trunk' branch on FSF servers.
1074
1075         2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
1076
1077         Radar 4330422
1078         * c-common.h (objc_non_volatilized_type): New declaration
1079         * stub-objc.c (objc_non_volatilized_type): New stub.
1080
1081 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1082
1083         Merge from 'apple/trunk' branch on FSF servers.
1084
1085         2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1086
1087         Radar 4133425
1088         * c-common.h (objc_diagnose_private_ivar): New decl.
1089         * stub-objc.c (objc_diagnose_private_ivar): New stub.
1090
1091 2010-10-17  Iain Sandoe  <iains@gcc.gnu.org>
1092
1093         * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1094         * c-common.h (enum rid): Add RID_AT_PACKAGE.
1095         (objc_ivar_visibility_kind): New enum.
1096         (objc_set_visibility): Adjust prototype to use visibility enum.
1097         * stub-objc.c (objc_set_visibility): Adjust stub to use
1098         visibility enum.
1099
1100 2010-10-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
1101
1102         * c-cppbuiltin.c (builtin_define_float_constants): Emit
1103         __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1104         has the appropriate fma builtins.
1105         (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1106
1107 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
1108
1109         merge from FSF apple 'trunk' branch.
1110         2006 Fariborz Jahanian <fjahanian@apple.com>
1111
1112         Radars 4436866, 4505126, 4506903, 4517826
1113         * c-common.c (c_common_resword): Define @property and its attributes.
1114         * c-common.h: Define property attribute enum entries.
1115         (OBJC_IS_PATTR_KEYWORD): New.
1116         (objc_property_attribute_kind): New enum.
1117         Declare objc_set_property_attr (), objc_add_property_variable (),
1118         objc_build_getter_call () and objc_build_setter_call ().
1119         * stub-objc.c (objc_set_property_attr): New stub.
1120         (objc_add_property_variable): Likewise.
1121         (objc_build_getter_call): Likewise.
1122         (objc_build_setter_call) Likewise.
1123
1124 2010-10-13  Iain Sandoe  <iains@gcc.gnu.org>
1125
1126         merge from FSF apple 'trunk' branch.
1127         2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1128
1129         Radar 3803157 (method attributes)
1130         * c-common.c (handle_deprecated_attribute): Recognize
1131         objc methods as valid declarations.
1132         * c-common.h: Declare objc_method_decl ().
1133         * stub-objc.c (objc_method_decl): New stub.
1134
1135 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
1136
1137         * c-common.c (parse_optimize_options): Call
1138         decode_cmdline_options_to_array_default_mask before
1139         decode_options.  Update arguments to decode_options.
1140         * c-common.h (c_common_init_options_struct): Declare.
1141         * c-opts.c (c_common_init_options_struct): New.  Split out from
1142         c_common_init_options.
1143
1144 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1145
1146         Implemented fast enumeration for Objective-C.
1147         * c-common.h (objc_finish_foreach_loop): New.
1148         * stub-objc.c (objc_finish_foreach_loop): New.
1149
1150 2010-10-05  Joseph Myers  <joseph@codesourcery.com>
1151
1152         * c-common.h (struct diagnostic_context): Don't declare here.
1153         (c_common_initialize_diagnostics): Declare using
1154         diagnostic_context typedef.
1155         * c-opts.c (c_common_handle_option): Pass global_dc to
1156         handle_generated_option.
1157
1158 2010-10-04  Joseph Myers  <joseph@codesourcery.com>
1159
1160         * c-opts.c (c_common_handle_option): Pass &global_options_set to
1161         handle_generated_option.
1162
1163 2010-10-03  Ian Lance Taylor  <iant@google.com>
1164
1165         * c.opt (-fplan9-extensions): New option.
1166
1167 2010-10-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1168
1169         * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1170         Remove.
1171         (c_cpp_builtins): Call functions from cppbuiltin.c instead
1172         of duplicating code.
1173
1174 2010-09-30  Iain Sandoe  <iains@gcc.gnu.org>
1175
1176         * c-common.c: Add two new entries for @optional
1177         and @required keywords.
1178
1179         merge from FSF 'apple/trunk' branch.
1180         2006-01-30  Fariborz Jahanian <fjahanian@apple.com>
1181
1182         Radar 4386773
1183         * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1184         objective-c keywords.
1185         (objc_set_method_opt): New declaration.
1186         * stub-objc.c (objc_set_method_opt): New stub.
1187         
1188 2010-09-30  Joseph Myers  <joseph@codesourcery.com>
1189
1190         * c-common.c (handle_optimize_attribute): Pass &global_options to
1191         cl_optimization_save and cl_optimization_restore.
1192         * c-opts.c (c_common_handle_option): Pass &global_options to
1193         handle_generated_option.
1194         * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1195         (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1196         &global_options to cl_optimization_restore.
1197
1198 2010-09-30  Nicola Pero  <nicola.pero@meta-innovation.com>
1199
1200         * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1201         Objective-C/Objective-C++ keywords.
1202
1203 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
1204
1205         Merge from 'apple/trunk' branch on FSF servers. 
1206         
1207         2005-10-04  Fariborz Jahanian <fjahanian@apple.com>
1208
1209         Radar 4281748
1210         * c-common.h (objc_check_global_decl): New declaration.
1211         * stub-objc.c (objc_check_global_decl): New stub.
1212
1213 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
1214
1215         * c.opt: Don't use VarExists.
1216
1217 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
1218
1219         * c-common.c (c_cpp_error): Update names of diagnostic_context
1220         members.
1221         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1222         cl_optimization members.
1223         * c-opts.c (warning_as_error_callback, c_common_handle_option,
1224         sanitize_cpp_opts, finish_options): Update names of cpp_options
1225         members.
1226
1227 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
1228
1229         * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
1230         (objc_is_reserved_word): Removed.
1231         * c-common.c: Updated comments.
1232         * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1233         objc_is_reserved_word.
1234         * stub-objc.c (objc_is_reserved_word): Removed.
1235
1236 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
1237
1238         * c-common.h (objc_add_method_declaration): Adjust prototype to 
1239         include attributes.
1240         (objc_start_method_definition): Likewise.
1241         (objc_build_keyword_decl): Likewise.
1242         * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1243         (objc_start_method_definition): Likewise.
1244         (objc_build_keyword_decl): Likewise.
1245
1246 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
1247
1248         * c-common.h (objc_start_class_interface): Adjust prototype.
1249         (objc_start_category_interface): Likewise.
1250         (objc_start_protocol): Likewise.
1251         * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1252         (objc_start_class_interface): Likewise.
1253         (objc_start_category_interface): Likewise.
1254
1255 2010-09-27  Ian Lance Taylor  <iant@google.com>
1256
1257         * c-common.c (c_common_attribute_table): Add no_split_stack.
1258         (handle_no_split_stack_attribute): New static function.
1259
1260 2010-09-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1261
1262         Merge from 'apple/trunk' branch on FSF servers. 
1263
1264         2005-12-15  Fariborz Jahanian <fjahanian@apple.com>
1265
1266         Radar 4229905   
1267         * c-common.h (objc_have_common_type): New declaration.
1268         * stub-objc.c (objc_have_common_type): New stub.
1269
1270         2005-06-22  Ziemowit Laski  <zlaski@apple.com>
1271
1272         Radar 4154928
1273         * c-common.h (objc_common_type): New prototype.
1274         * stub-objc.c (objc_common_type): New stub.     
1275
1276 2010-09-24  Jan Hubicka  <jh@suse.cz>
1277
1278         * c-common.c (handle_leaf_attribute): New function.
1279         (struct attribute_spec c_common_att): Add leaf.
1280
1281 2010-09-22  Joseph Myers  <joseph@codesourcery.com>
1282
1283         * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1284         -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1285         -dump, -dump=, -imacros, -imacros=, -include, -include=,
1286         -include-barrier, -include-directory, -include-directory=,
1287         -include-directory-after, -include-directory-after=,
1288         -include-prefix, -include-prefix=, -include-with-prefix,
1289         -include-with-prefix=, -include-with-prefix-after,
1290         -include-with-prefix-after=, -include-with-prefix-before,
1291         -include-with-prefix-before=, -no-integrated-cpp,
1292         -no-line-commands, -no-standard-includes, -no-warnings, -output,
1293         -output=, -pedantic, -pedantic-errors, -preprocess,
1294         -print-missing-file-dependencies, -trace-includes, -traditional,
1295         -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1296         -user-dependencies, -verbose, -write-dependencies,
1297         -write-user-dependencies, no-integrated-cpp, traditional): New.
1298
1299 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
1300
1301         PR objc/23710
1302         * c-common.h (objc_start_method_definition): Return bool instead
1303         of void.
1304         * stub-objc.c (objc_start_method_definition): Return bool instead
1305         of void.
1306
1307 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
1308
1309         PR objc/25965
1310         * c-common.h (objc_get_interface_ivars): New declaration.
1311         * stub-objc.c (objc_get_interface_ivars): New stub.
1312
1313 2010-09-15  Ian Lance Taylor  <iant@google.com>
1314
1315         * c-common.c (parse_optimize_options): Do not capitalize warning
1316         messages.  Remove period at end of warning message.
1317
1318 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
1319
1320         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1321         (handle_alias_attribute): ... here.
1322         (handle_ifunc_attribute): New.
1323
1324 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
1325
1326         * c-common.h (do_warn_double_promotion): Declare.
1327         * c-common.c (do_warn_double_promotion): Define.
1328
1329 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
1330
1331         * c.opt (Wdouble-promotion): New.
1332
1333 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1334
1335         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1336         fvtable-thunks, fxref): Mark no longer supported in help text.
1337
1338 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1339
1340         * c.opt (Wimport, fall-virtual, falt-external-templates,
1341         fdefault-inline, fenum-int-equiv, fexternal-templates,
1342         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1343         fname-mangling-version-, fnew-abi, fnonnull-objects,
1344         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1345         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1346         applicable.
1347         (fhandle-exceptions): Mark with Alias and Warn.
1348         * c-opts.c (c_common_handle_option): Don't handle options marked
1349         as ignored.
1350
1351 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1352
1353         * c.opt (Wcomments, Werror-implicit-function-declaration,
1354         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1355         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1356         aliases.
1357         * c-common.c (option_codes): Use OPT_Wcomment instead of
1358         OPT_Wcomments.
1359         * c-opts.c (warning_as_error_callback, c_common_handle_option):
1360         Don't handle options marked as aliases.
1361
1362 2010-08-25  Richard Guenther  <rguenther@suse.de>
1363
1364         * c-common.c (c_common_get_alias_set): Remove special
1365         handling for pointers.
1366
1367 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
1368
1369         * c-common.c: Use FOR_EACH_VEC_ELT.
1370         * c-gimplify.c: Likewise.
1371         * c-pragma.c: Likewise.
1372
1373 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
1374
1375         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
1376         RejectDriver.
1377         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
1378         RejectDriver.
1379         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1380         instead of OPT_MDX and OPT_MMDX.
1381
1382 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
1383
1384         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1385
1386 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1387
1388         * c.opt (MD, MMD): Change to MDX and MMDX.
1389         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1390
1391 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
1392
1393         * c-opts.c (c_common_handle_option): Call handle_generated_option
1394         instead of handle_option.
1395
1396 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
1397
1398         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1399         (maybe_apply_renaming_pragma): Delete unneeded declarations.
1400
1401 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
1402
1403         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
1404         (pending_redefine_extname): Change type to a VEC.
1405         (add_to_renaming_pragma_list): Update for new type of
1406         pending_redefine_extname.
1407         (maybe_apply_renaming_pragma): Likewise.
1408
1409 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
1410
1411         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1412         visited.
1413         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1414         decide whether a type has already been declared/seen.
1415         Do not go to the original type.
1416         (dump_nested_types): New parameter forward.
1417         Generate forward declaration if needed and mark type as visited.
1418         (print_ada_declaration): Call dump_nested_types if not already done.
1419         Mark types as visited.
1420
1421 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
1422
1423         * c.opt (-print-pch-checksum): Remove option.
1424         * c-opts.c (c_common_handle_option): Don't handle
1425         OPT_print_pch_checksum.
1426
1427 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1428
1429         * c-common.h (c_common_handle_option): Update prototype and return
1430         value type.
1431         * c-opts.c (c_common_handle_option): Update prototype and return
1432         value type.  Update calls to handle_option and
1433         enable_warning_as_error.
1434
1435 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
1436
1437         PR c/45079
1438         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1439
1440 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1441
1442         * c-common.h (c_common_missing_argument): Remove.
1443         * c-opts.c (c_common_missing_argument): Remove.
1444         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1445         idirafter, imacros, include, isysroot, isystem, iquote): Add
1446         MissingArgError.
1447         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1448
1449 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1450
1451         * c-common.h (c_common_option_lang_mask,
1452         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1453         New.
1454         (c_common_init_options): Update prototype.
1455         * c-opts.c (c_common_option_lang_mask): New.
1456         (c_common_initialize_diagnostics): Split out of
1457         c_common_init_options.
1458         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1459         New.
1460         (c_common_init_options): Update prototype.  Use decoded options in
1461         search for -lang-asm.
1462
1463 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
1464
1465         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1466         * c-format.c: Likewise.
1467
1468 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1469
1470         * c-common.h: Include diagnostic-core.h. Error if already
1471         included.
1472         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1473
1474 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1475
1476         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1477         Do not include expr.h
1478         (vector_mode_valid_p): Move here.
1479
1480 2010-06-21  DJ Delorie  <dj@redhat.com>
1481
1482         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1483         allow these pragmas anywhere.
1484
1485 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
1486
1487         PR bootstrap/44509
1488         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1489         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1490         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1491         ggc_strdup instead of xstrdup.
1492
1493 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
1494
1495         * c-cppbuiltin.c: Include cpp-id-data.h.
1496         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1497         (lazy_hex_fp_value): New function.
1498         (builtin_define_with_hex_fp_value): Provide definitions lazily.
1499
1500 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1501
1502         * c-gimplify.c: Do not include tree-flow.h
1503
1504 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
1505
1506         PR other/44034
1507         * c-common.c: Rename targetm member:
1508         targetm.enum_va_list -> targetm.enum_va_list_p
1509
1510 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
1511
1512         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1513
1514 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
1515
1516         * c-cppbuiltin.c: Do not include except.h.
1517
1518 2010-06-24  Andi Kleen  <ak@linux.intel.com>
1519
1520         * c-common.c (warn_for_omitted_condop): New.
1521         * c-common.h (warn_for_omitted_condop): Add prototype.
1522
1523 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
1524
1525         * c.opt (lang-objc): Remove.
1526         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1527
1528 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1529
1530         * c-opts.c: Include "tm_p.h".
1531
1532 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
1533
1534         * c-common.c (parse_optimize_options): Update call to
1535         decode_options.
1536
1537 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
1538
1539         * c-common.c (record_types_used_by_current_var_decl): Adjust for
1540         new type of types_used_by_cur_var_decl.
1541
1542 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
1543
1544         PR bootstrap/44512
1545         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1546         for C++ standard compliance.
1547
1548 2010-06-16  Jason Merrill  <jason@redhat.com>
1549
1550         * c.opt: Add -Wnoexcept.
1551
1552 2010-06-16  Richard Guenther  <rguenther@suse.de>
1553
1554         PR c/44555
1555         * c-common.c (c_common_truthvalue_conversion): Remove
1556         premature and wrong optimization concering ADDR_EXPRs.
1557
1558 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
1559
1560         * c-ada-spec.c (dump_sloc): Remove column info.
1561         (is_simple_enum): New function.
1562         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1563         enum types when relevant.
1564
1565 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1566
1567         * c-common.c (conversion_warning): Warn at expression
1568         location.
1569
1570 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
1571
1572         * c-opts.c (c_common_handle_option): Don't handle
1573         OPT_fshow_column.
1574
1575 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1576
1577         * c-pragma.c (push_alignment): Use typed GC allocation.
1578         (handle_pragma_push_options): Likewise.
1579
1580         * c-common.c (parse_optimize_options): Likewise.
1581
1582         * c-common.h (struct sorted_fields_type): Add variable_size GTY
1583         option.
1584
1585 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
1586
1587         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1588         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1589         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1590         flag_signed_bitfields, warn_strict_null_sentinel,
1591         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1592         flag_gen_declaration, flag_no_gnu_keywords,
1593         flag_implement_inlines, flag_implicit_templates,
1594         flag_implicit_inline_templates, flag_optional_diags,
1595         flag_elide_constructors, flag_default_inline, flag_rtti,
1596         flag_conserve_space, flag_access_control, flag_check_new,
1597         flag_new_for_scope, flag_weak, flag_working_directory,
1598         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1599         flag_enforce_eh_specs, flag_threadsafe_statics,
1600         flag_pretty_templates): Remove.
1601         * c-common.h (flag_preprocess_only, flag_nil_receivers,
1602         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1603         flag_replace_objc_classes, flag_undef, flag_no_builtin,
1604         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1605         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1606         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1607         flag_no_gnu_keywords, flag_implement_inlines,
1608         flag_implicit_templates, flag_implicit_inline_templates,
1609         flag_optional_diags, flag_elide_constructors, flag_default_inline,
1610         flag_rtti, flag_conserve_space, flag_access_control,
1611         flag_check_new, flag_new_for_scope, flag_weak,
1612         flag_working_directory, flag_use_cxa_atexit,
1613         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1614         flag_threadsafe_statics, flag_pretty_templates,
1615         warn_strict_null_sentinel): Remove.
1616         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1617         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1618         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1619         fimplicit-inline-templates, fimplicit-templates,
1620         flax-vector-conversions, fms-extensions, fnil-receivers,
1621         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1622         frtti, fshort-double, fshort-enums, fshort-wchar,
1623         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1624         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1625         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1626         gen-decls, undef): Use Var.
1627         (fdefault-inline, foptional-diags): Document as doing nothing.
1628         * c-opts.c (c_common_handle_option): Remove cases for options now
1629         using Var.  Mark ignored options as such.
1630
1631 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
1632
1633         * c-common.c: Moved to here from parent directory. 
1634         * c-common.def: Likewise.
1635         * c-common.h: Likewise.
1636         * c-cppbuiltin.c: Likewise.
1637         * c-dump.c: Likewise.
1638         * c-format.c: Likewise.
1639         * c-format.h : Likewise.
1640         * c-gimplify.c: Likewise.
1641         * c-lex.c: Likewise.
1642         * c-omp.c: Likewise.
1643         * c.opt: Likewise.
1644         * c-opts.c: Likewise.
1645         * c-pch.c: Likewise.
1646         * c-ppoutput.c: Likewise.
1647         * c-pragma.c: Likewise.
1648         * c-pragma.h: Likewise.
1649         * c-pretty-print.c: Likewise.
1650         * c-pretty-print.h: Likewise.
1651         * c-semantics.c: Likewise.
1652         * stub-objc.c: Likewise.
1653
1654         * c-common.c: Include gt-c-family-c-common.h.
1655         * c-pragma.c: Include gt-c-family-c-pragma.h.
1656 \f
1657 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1658
1659 Copying and distribution of this file, with or without modification,
1660 are permitted in any medium without royalty provided the copyright
1661 notice and this notice are preserved.