OSDN Git Service

generalize build_case_label to the rest of the compiler
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
2
3         * c-common.c (c_add_case_label): Omit the loc argument to
4         build_case_label.
5         * c-common.h (build_case_label): Remove.
6         * c-semantics.c (build_case_label): Remove.
7
8 2011-05-05  Joseph Myers  <joseph@codesourcery.com>
9
10         * c-objc.h (objc_start_method_definition): Update prototype.
11         * stub-objc.c (objc_start_method_definition): Add extra parameter.
12
13 2011-05-04  Nathan Froyd  <froydnj@codesourcery.com>
14
15         * c-common.c (check_main_parameter_types): Reindent.  Don't use
16         TYPE_ARG_TYPES directly.
17         (handle_nonnull_attribute): Likewise.
18         (sync_resolve_params): Likewise.
19         * c-format.c (handle_format_arg_attribute): Likewise.  Adjust call
20         to check_format_string.
21         (handle_format_attribute): Likewise.
22         (check_format_string): Take a function type to examine instead of
23         a type list.  Use a function_arg_iterator to step through argument
24         types.
25
26 2011-05-04  Richard Guenther  <rguenther@suse.de>
27
28         * c-common.c (fix_string_type): Use size_int for index type bounds.
29         (start_fname_decls): Do not pass NULL to build_int_cst.
30         (c_init_attributes): Likewise.
31         * c-lex.c (c_lex_with_flags): Likewise.
32
33 2011-04-27  Jason Merrill  <jason@redhat.com>
34
35         * c-common.c (make_tree_vector_from_list): New.
36         * c-common.h: Declare it.
37
38 2011-04-26  Richard Guenther  <rguenther@suse.de>
39
40         PR preprocessor/48248
41         * c-ppoutput.c (maybe_print_line): Always optimize newlines
42         for output size with -P.
43
44 2011-04-20  Jim Meyering  <meyering@redhat.com>
45
46         * c-format.c (init_dollar_format_checking): Remove useless
47         if-before-free.
48
49 2011-04-15  Nicola Pero  <nicola.pero@meta-innovation.com>
50
51         * c-objc.h (objc_get_interface_ivars): Removed.
52         (objc_detect_field_duplicates): New.    
53         * stub-objc.c: Likewise.
54         
55 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
56
57         * stub-objc.c (objc_declare_protocols): Renamed to
58         objc_declare_protocol.
59         * c-objc.h: Likewise.
60         
61 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
62
63         * stub-objc.c (objc_declare_class): Updated argument name.
64
65 2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
66
67         * c-common.h (c_common_init_ts): Declare.
68         * c-common.c (c_common_init_ts): Define.
69
70 2011-04-12  Nicola Pero  <nicola.pero@meta-innovation.com>
71
72         * c-objc.h (objc_build_message_expr): Updated prototype.
73         * stub-objc.c (objc_build_message_expr): Likewise.
74         
75 2011-04-12  Martin Jambor  <mjambor@suse.cz>
76
77         * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
78         of cgraph_node.
79
80 2011-04-11  Richard Guenther  <rguenther@suse.de>
81
82         * c-common.c (complete_array_type): Build a range type of
83         proper type.
84
85 2011-04-08  Nathan Froyd  <froydnj@codesourcery.com>
86
87         * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
88         (handle_type_generic_attribute): Likewise.
89
90 2011-04-07  Jason Merrill  <jason@redhat.com>
91
92         PR c++/48450
93         * c-common.c (c_common_truthvalue_conversion): Don't ignore
94         conversion from C++0x scoped enum.
95
96 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
97
98         * c-target-def.h: New file.
99         * c-target.def: New file.
100         * c-target.h: New file.
101         * c-common.c (targetcm): Don't define here.
102         * c-common.h (default_handle_c_option): Declare.
103         * c-format.c: Include c-target.h instead of target.h.
104         * c-opts.c: Include c-target.h instead of target.h.  Explicitly
105         include tm.h.
106         (default_handle_c_option): Move from targhooks.c.
107
108 2011-03-29  Jakub Jelinek  <jakub@redhat.com>
109
110         PR preprocessor/48248
111         * c-ppoutput.c (print): Add src_file field.
112         (init_pp_output): Initialize it.
113         (maybe_print_line): Don't optimize by adding up to 8 newlines
114         if map->to_file and print.src_file are different file.
115         (print_line): Update print.src_file.
116
117 2011-03-25  Kai Tietz  <ktietz@redhat.com>
118
119         * c-ada-spec.c (compare_comment): Use filename_cmp
120         instead of strcmp for filename.
121
122 2011-03-25  Jeff Law  <law@redhat.com>
123
124         * c-family/c-common.c (def_fn_type): Add missing va_end.
125
126 2011-03-25  Jason Merrill  <jason@redhat.com>
127
128         * c.opt: Add -std=c++03.
129
130 2011-03-22  Eric Botcazou  <ebotcazou@adacore.com>
131
132         * c-ada-spec.c (dump_ada_template): Skip non-class instances.
133
134 2011-03-17  Kai Tietz
135
136         PR target/12171
137         * c-pretty-print.c (pp_c_specifier_qualifier_list):
138         Display allowed attributes for function pointer types.
139         (pp_c_attributes_display): New function to display
140         attributes having affects_type_identity flag set to true.
141         * c-pretty-print.h (pp_c_attributes_display): New prototype.
142
143         * c-common.c (c_common_attribute_table):
144         Add new element.
145         (c_common_format_attribute_table): Likewise.
146
147 2011-03-18  Jason Merrill  <jason@redhat.com>
148
149         * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
150         * c-common.h: Don't declare it here.
151         * c-common.c: Or define it here.
152         * c-opts.c (c_common_handle_option): Or set it here.
153
154         PR c++/35315
155         * c-common.c (handle_transparent_union_attribute): Don't
156         make a duplicate type in C++.
157
158 2011-03-15  Jason Merrill  <jason@redhat.com>
159
160         * c-common.c (max_constexpr_depth): New.
161         * c-common.h: Declare it.
162         * c-opts.c (c_common_handle_option): Set it.
163         * c.opt (fconstexpr-depth): New option.
164
165 2011-03-11  Jason Merrill  <jason@redhat.com>
166
167         * c-common.c (attribute_takes_identifier_p): Add missing const.
168
169         PR c++/46803
170         * c-common.c (attribute_takes_identifier_p): Assume that an
171         unknown attribute takes an identifier.
172
173 2011-03-07  Nathan Froyd  <froydnj@codesourcery.com>
174
175         PR c/47786
176         * c-common.c (c_type_hash): Call list_length instead of iterating
177         through DECL_CHAIN.  Rename 'i' to 'n_elements'.
178
179 2011-02-19  Jakub Jelinek  <jakub@redhat.com>
180
181         PR c/47809
182         * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
183
184 2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
185
186         * c.opt (fobjc-abi-version=) New.
187         (fobjc-nilcheck): New.
188
189 2011-02-03  Nathan Froyd  <froydnj@codesourcery.com>
190
191         PR c++/46890
192         * c-common.h (keyword_is_decl_specifier): Declare.
193         * c-common.c (keyword_is_decl_specifier): Define.
194         (keyword_is_function_specifier): New function.
195
196 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
197
198         PR c/47473
199         * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
200         EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
201         REAL_TYPE.
202
203 2011-01-26  Arnaud Charlet  <charlet@adacore.com>
204
205         * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
206
207 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
208
209         PR pch/47430
210         * c-opts.c (c_common_post_options): Call c_common_no_more_pch
211         after init_c_lex if pch_file is set.
212
213 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
214
215         PR c++/43601
216         * c.opt (-fkeep-inline-dllexport): New switch.
217
218 2011-01-12  Richard Guenther  <rguenther@suse.de>
219
220         PR middle-end/32511
221         * c-common.c (handle_weak_attribute): Warn instead of error
222         on declaring an inline function weak.
223
224 2011-01-05  Tom Tromey  <tromey@redhat.com>
225
226         * c-common.h (lvalue_error): Update.
227         * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
228         not error.
229
230 2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
231         
232         PR objc/47075
233         * c-objc.h (objc_finish_message_expr): Added argument to
234         prototype.
235
236 2010-12-22  Nathan Froyd  <froydnj@codesourcery.com>
237
238         * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
239         Use prototype_p.
240
241 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
242
243         * c-objc.h (objc_maybe_warn_exceptions): New.
244         * stub-objc.c (objc_maybe_warn_exceptions): New.        
245
246 2010-12-10  Nathan Froyd  <froydnj@codesourcery.com>
247
248         * c-common.h (readonly_error): Declare.
249         * c-common.c (readonly_error): Define.
250
251 2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
252
253         * c-common.h (invalid_indirection_error): Declare.
254         * c-common.c (invalid_indirection_error): Define.
255
256 2010-12-03  Richard Guenther  <rguenther@suse.de>
257
258         PR c/46745
259         * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
260         (pp_c_unary_expression): Likewise.
261         (pp_c_expression): Likewise.
262
263 2010-11-30  Nicola Pero  <nicola.pero@meta-innovation.com>
264
265         * c-common.h (objc_finish_function): New.
266         (objc_non_volatilized_type): Removed.
267         (objc_type_quals_match): Removed.
268         * stub-objc.c (objc_finish_function): New.
269         (objc_non_volatilized_type): Removed.
270         (objc_type_quals_match): Removed.
271         
272 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
273
274         * c-common.h (parse_optimize_options): Declare.
275         * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
276         c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
277
278 2010-11-29  Joseph Myers  <joseph@codesourcery.com>
279
280         * c-opts.c (check_deps_environment_vars): Use getenv instead of
281         GET_ENVIRONMENT.
282         * c-pch.c (O_BINARY): Don't define here.
283         * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
284
285 2010-11-25  Joseph Myers  <joseph@codesourcery.com>
286
287         * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
288         targetm.except_unwind_info.
289
290 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
291
292         * c-opts.c (c_common_handle_option): Pass location to
293         set_struct_debug_option.
294
295 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
296
297         * c-common.c (visibility_options): Move from ../opts.c.
298         * c-common.h (struct visibility_flags, visibility_options):
299         Declare here.
300         * c-opts.c (finish_options): Rename to c_finish_options.
301         (c_common_init): Update call to finish_options.
302
303 2010-11-22  Nicola Pero  <nicola.pero@meta-innovation.com>
304
305         PR objc/34033
306         * c-lex.c (lex_string): Check that each string in an Objective-C
307         string concat sequence starts with either one or zero '@', and
308         that there are no spurious '@' signs at the end.
309
310 2010-11-20  Joseph Myers  <joseph@codesourcery.com>
311
312         * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
313         HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
314         HANDLE_PRAGMA_VISIBILITY.
315         * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
316         HANDLE_PRAGMA_VISIBILITY): Don't define.
317         (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
318
319 2010-11-20  Nathan Froyd  <froydnj@codesourcery.com>
320
321         PR c++/16189
322         PR c++/36888
323         PR c++/45331
324         * c-common.h (keyword_begins_type_specifier): Declare.
325         (keyword_is_storage_class_specifier): Declare.
326         (keyword_is_type_qualifier): Declare.
327         * c-common.c (keyword_begins_type_specifier): New function.
328         (keyword_is_storage_class_specifier): New function.
329         (keyword_is_type_qualifier): Declare.
330
331 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
332
333         PR c/46547
334         * c-common.c (in_late_binary_op): Define.
335         (c_common_truthvalue_conversion): Check in_late_binary_op before
336         calling c_save_expr.
337         * c-common.h (in_late_binary_op): Declare.
338
339 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
340
341         * c-opts.c (c_common_handle_option): Update calls to
342         set_struct_debug_option.
343
344 2010-11-19  Nicola Pero  <nicola.pero@meta-innovation.com>
345
346         * c-common.h (objc_declare_protocols): Added additional argument.
347         * stub-objc.c (objc_declare_protocol): Same change.
348         
349 2010-11-18  Nathan Froyd  <froydnj@codesourcery.com>
350
351         PR c/33193
352         * c-common.h (build_real_imag_expr): Declare.
353         * c-semantics.c (build_real_imag_expr): Define.
354
355 2010-11-17  Joseph Myers  <joseph@codesourcery.com>
356
357         * c-opts.c (c_common_parse_file): Take no arguments.
358         * c-common.h (c_common_parse_file): Update prototype.
359
360 2010-11-16  Jakub Jelinek  <jakub@redhat.com>
361
362         PR c++/46401
363         * c-common.c (warning_candidate_p): Don't track non-const calls
364         or STRING_CSTs.
365
366 2010-11-15  Ian Lance Taylor  <iant@google.com>
367
368         * c-lex.c (init_c_lex): Set macro debug callbacks if
369         flag_dump_go_spec is set.
370
371 2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
372
373         * c-common.h (objc_build_incr_expr_for_property_ref): New.
374         * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
375
376 2010-11-15  Nathan Froyd  <froydnj@codesourcery.com>
377
378         PR preprocessor/45038
379         * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
380         dialects.
381
382 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
383
384         * c-common.h (c_family_lang_mask): Declare.
385         * c-opts.c (c_family_lang_mask): Make extern.
386         * c-pragma.c (handle_pragma_diagnostic): Use
387         control_warning_option.
388
389 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
390
391         * c-common.c (parse_optimize_options): Update call to
392         decode_options.
393         * c-common.h (c_common_handle_option): Update prototype.
394         * c-opts.c (c_common_handle_option): Take location_t parameter and
395         pass it to other functions.
396
397 2010-11-11  Joseph Myers  <joseph@codesourcery.com>
398
399         * c-opts.c (warning_as_error_callback): Remove.
400         (c_common_initialize_diagnostics): Don't call
401         register_warning_as_error_callback.
402         (c_common_handle_option): Handle -Werror=normalized= here.
403
404 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
405
406         * c-common.c (handle_mode_attribute): Use %' and word "signedness"
407         in diagnostic.
408         * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
409         letter.
410         * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
411         Remove trailing '.' from diagnostics.
412         * c.opt (Wwrite-strings_: Avoid '`' in help text.
413
414 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
415
416         * c-common.c (parse_optimize_options): Pass global_dc to
417         decode_options.
418         * c-opts.c (c_common_handle_option): Pass &global_options to
419         set_Wstrict_aliasing.
420         * c.opt (v): Don't mark Common or document here.
421
422 2010-11-06  Iain Sandoe  <iains@gcc.gnu.org>
423
424         PR target/44981
425         * c-format.c (format_type): New type gcc_objc_string_format_type.
426         (valid_stringptr_type_p): New.
427         (handle_format_arg_attribute): Use valid_stringptr_type_p ().
428         (check_format_string): Pass expected type, use 
429         valid_stringptr_type_p (), check that the format string types are
430         consistent with the format specification.
431         (decode_format_attr): Warn if NSString is used outside objective-c.
432         (format_types_orig): Add NSString.
433         (format_name): New.
434         (format_flags): New.
435         (check_format_arg): Handle format strings requiring an external parser.
436         first_target_format_type: New variable.
437         (handle_format_attribute): Set up first_target_format_type, pass the
438         expected format arg string type to check_format_string().
439         * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL):  New flag.
440         * stub-objc.c (objc_string_ref_type_p): New.
441         (objc_check_format_arg): New.
442
443 2010-11-04  Nicola Pero  <nicola.pero@meta-innovation.com>
444
445         Fixed using the Objective-C 2.0 dot-syntax with class names.    
446         * c-common.h (objc_build_class_component_ref): New.
447         * stub-objc.c (objc_build_class_component_ref): New.
448
449 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
450
451         * c.opt (Wproperty-assign-default): New option.
452
453 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
454
455         Implemented -fobjc-std=objc1 flag.
456         * c.opt (fobjc-std=objc1): New option.
457
458 2010-11-01  Nicola Pero  <nicola.pero@meta-innovation.com>
459
460         Implemented format and noreturn attributes for Objective-C methods.
461         * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
462         attribute for Objective-C methods.
463
464 2010-10-31  Jason Merrill  <jason@redhat.com>
465
466         * c-common.c (conversion_warning, warn_for_collisions_1): Use
467         EXPR_LOC_OR_HERE.
468
469 2010-10-30  Nicola Pero  <nicola.pero@meta-innovation.com>
470
471         Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
472         * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
473         (objc_add_property_declaration): Removed arguments for copies and
474         ivar.
475         (objc_build_getter_call): Renamed to
476         objc_maybe_build_component_ref.
477         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
478         (objc_is_property_ref): New.
479         * c-common.c (c_common_reswords): Removed copies and ivar.
480         * stub-objc.c (objc_add_property_declaration): Removed arguments
481         for copies and ivar.
482         (objc_build_getter_call): Renamed to
483         objc_maybe_build_component_ref.
484         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
485         (objc_is_property_ref): New.
486         
487 2010-10-29  Arnaud Charlet  <charlet@adacore.com>
488             Matthew Gingell  <gingell@adacore.com>
489
490         * c-ada-spec.c (separate_class_package): New function.
491         (pp_ada_tree_identifier): Prefix references to C++ classes with the
492         name of their enclosing package.
493         (print_ada_declaration): Use separate_class_package.
494
495 2010-10-27  Jason Merrill  <jason@redhat.com>
496
497         * c-common.c (c_common_reswords): Add __is_literal_type.
498         * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
499
500         * c-common.c (check_case_value): Remove special C++ code.
501
502 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
503
504         * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
505         RID_RETAIN, RID_COPY and RID_NONATOMIC.  Updated RID_FIRST_PATTR
506         and RID_LAST_PATTR.
507         (objc_add_property_declaration): Added additional arguments.
508         (objc_property_attribute_kind): Removed.
509         (objc_set_property_attr): Removed.
510         * c-common.c (c_common_reswords): Added readwrite, assign, retain,
511         copy and nonatomic.
512         * stub-objc.c (objc_add_property_declaration): Added additional
513         arguments.
514         (objc_set_property_attr): Removed.
515         
516 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
517
518         * c-common.h (objc_add_property_variable): Renamed to
519         objc_add_property_declaration.  Added location argument.
520         * stub-objc.c (objc_add_property_variable): Same change.
521         
522 2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
523
524         * c-common.h (objc_maybe_printable_name): New.
525         * stub-objc.c (objc_maybe_printable_name): New.
526
527 2010-10-22  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
528         Andrew Pinski <pinskia@gmail.com>
529
530         * c-common.h (c_common_mark_addressable_vec): Declare.
531         * c-common.c (c_common_mark_addressable_vec): New function.
532
533 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
534
535         * c-common.h (objc_set_method_type): Removed.
536         (objc_add_method_declaration): Added boolean argument.
537         (objc_start_method_definition): Same change.
538         (objc_build_method_signature): Same change.
539         * stub-objc.c (objc_set_method_type): Removed.
540         (objc_add_method_declaration): Added boolean argument.
541         (objc_start_method_definition): Same change.
542         (objc_build_method_signature): Same change.
543
544 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
545
546         * c-common.h (finish_file): Removed.
547         (objc_write_global_declarations): New.
548         * c-opts.c (c_common_parse_file): Do not call finish_file.
549         * stub-objc.c (objc_write_global_declarations): New.
550         
551 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
552
553         Implemented parsing @synthesize and @dynamic for
554         Objective-C/Objective-C++.
555         * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
556         (objc_add_synthesize_declaration): New.
557         (objc_add_dynamic_declaration): New.
558         * c-common.c (c_common_reswords): Add synthesize and dynamic.
559         * stub-objc.c (objc_add_synthesize_declaration): New.
560         (objc_add_dynamic_declaration): New.
561         
562 2010-10-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
563
564         PR target/46041
565         * c-cppbuiltin.c (mode_has_fma): Move function here from
566         builtins.c.  Don't use the fma optab, instead just use the
567         HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
568         using -save-temps.
569
570 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
571
572         Merge from 'apple/trunk' branch on FSF servers.
573
574         2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
575
576         Radar 4330422
577         * c-common.h (objc_non_volatilized_type): New declaration
578         * stub-objc.c (objc_non_volatilized_type): New stub.
579
580 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
581
582         Merge from 'apple/trunk' branch on FSF servers.
583
584         2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
585
586         Radar 4133425
587         * c-common.h (objc_diagnose_private_ivar): New decl.
588         * stub-objc.c (objc_diagnose_private_ivar): New stub.
589
590 2010-10-17  Iain Sandoe  <iains@gcc.gnu.org>
591
592         * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
593         * c-common.h (enum rid): Add RID_AT_PACKAGE.
594         (objc_ivar_visibility_kind): New enum.
595         (objc_set_visibility): Adjust prototype to use visibility enum.
596         * stub-objc.c (objc_set_visibility): Adjust stub to use
597         visibility enum.
598
599 2010-10-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
600
601         * c-cppbuiltin.c (builtin_define_float_constants): Emit
602         __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
603         has the appropriate fma builtins.
604         (c_cpp_builtins): Adjust call to builtin_define_float_constants.
605
606 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
607
608         merge from FSF apple 'trunk' branch.
609         2006 Fariborz Jahanian <fjahanian@apple.com>
610
611         Radars 4436866, 4505126, 4506903, 4517826
612         * c-common.c (c_common_resword): Define @property and its attributes.
613         * c-common.h: Define property attribute enum entries.
614         (OBJC_IS_PATTR_KEYWORD): New.
615         (objc_property_attribute_kind): New enum.
616         Declare objc_set_property_attr (), objc_add_property_variable (),
617         objc_build_getter_call () and objc_build_setter_call ().
618         * stub-objc.c (objc_set_property_attr): New stub.
619         (objc_add_property_variable): Likewise.
620         (objc_build_getter_call): Likewise.
621         (objc_build_setter_call) Likewise.
622
623 2010-10-13  Iain Sandoe  <iains@gcc.gnu.org>
624
625         merge from FSF apple 'trunk' branch.
626         2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
627
628         Radar 3803157 (method attributes)
629         * c-common.c (handle_deprecated_attribute): Recognize
630         objc methods as valid declarations.
631         * c-common.h: Declare objc_method_decl ().
632         * stub-objc.c (objc_method_decl): New stub.
633
634 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
635
636         * c-common.c (parse_optimize_options): Call
637         decode_cmdline_options_to_array_default_mask before
638         decode_options.  Update arguments to decode_options.
639         * c-common.h (c_common_init_options_struct): Declare.
640         * c-opts.c (c_common_init_options_struct): New.  Split out from
641         c_common_init_options.
642
643 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
644
645         Implemented fast enumeration for Objective-C.
646         * c-common.h (objc_finish_foreach_loop): New.
647         * stub-objc.c (objc_finish_foreach_loop): New.
648
649 2010-10-05  Joseph Myers  <joseph@codesourcery.com>
650
651         * c-common.h (struct diagnostic_context): Don't declare here.
652         (c_common_initialize_diagnostics): Declare using
653         diagnostic_context typedef.
654         * c-opts.c (c_common_handle_option): Pass global_dc to
655         handle_generated_option.
656
657 2010-10-04  Joseph Myers  <joseph@codesourcery.com>
658
659         * c-opts.c (c_common_handle_option): Pass &global_options_set to
660         handle_generated_option.
661
662 2010-10-03  Ian Lance Taylor  <iant@google.com>
663
664         * c.opt (-fplan9-extensions): New option.
665
666 2010-10-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
667
668         * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
669         Remove.
670         (c_cpp_builtins): Call functions from cppbuiltin.c instead
671         of duplicating code.
672
673 2010-09-30  Iain Sandoe  <iains@gcc.gnu.org>
674
675         * c-common.c: Add two new entries for @optional
676         and @required keywords.
677
678         merge from FSF 'apple/trunk' branch.
679         2006-01-30  Fariborz Jahanian <fjahanian@apple.com>
680
681         Radar 4386773
682         * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
683         objective-c keywords.
684         (objc_set_method_opt): New declaration.
685         * stub-objc.c (objc_set_method_opt): New stub.
686         
687 2010-09-30  Joseph Myers  <joseph@codesourcery.com>
688
689         * c-common.c (handle_optimize_attribute): Pass &global_options to
690         cl_optimization_save and cl_optimization_restore.
691         * c-opts.c (c_common_handle_option): Pass &global_options to
692         handle_generated_option.
693         * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
694         (handle_pragma_pop_options, handle_pragma_reset_options): Pass
695         &global_options to cl_optimization_restore.
696
697 2010-09-30  Nicola Pero  <nicola.pero@meta-innovation.com>
698
699         * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
700         Objective-C/Objective-C++ keywords.
701
702 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
703
704         Merge from 'apple/trunk' branch on FSF servers. 
705         
706         2005-10-04  Fariborz Jahanian <fjahanian@apple.com>
707
708         Radar 4281748
709         * c-common.h (objc_check_global_decl): New declaration.
710         * stub-objc.c (objc_check_global_decl): New stub.
711
712 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
713
714         * c.opt: Don't use VarExists.
715
716 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
717
718         * c-common.c (c_cpp_error): Update names of diagnostic_context
719         members.
720         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
721         cl_optimization members.
722         * c-opts.c (warning_as_error_callback, c_common_handle_option,
723         sanitize_cpp_opts, finish_options): Update names of cpp_options
724         members.
725
726 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
727
728         * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
729         (objc_is_reserved_word): Removed.
730         * c-common.c: Updated comments.
731         * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
732         objc_is_reserved_word.
733         * stub-objc.c (objc_is_reserved_word): Removed.
734
735 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
736
737         * c-common.h (objc_add_method_declaration): Adjust prototype to 
738         include attributes.
739         (objc_start_method_definition): Likewise.
740         (objc_build_keyword_decl): Likewise.
741         * stub-objc.c:(objc_add_method_declaration): Handle attributes.
742         (objc_start_method_definition): Likewise.
743         (objc_build_keyword_decl): Likewise.
744
745 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
746
747         * c-common.h (objc_start_class_interface): Adjust prototype.
748         (objc_start_category_interface): Likewise.
749         (objc_start_protocol): Likewise.
750         * stub-objc.c (objc_start_protocol): Adjust for extra argument.
751         (objc_start_class_interface): Likewise.
752         (objc_start_category_interface): Likewise.
753
754 2010-09-27  Ian Lance Taylor  <iant@google.com>
755
756         * c-common.c (c_common_attribute_table): Add no_split_stack.
757         (handle_no_split_stack_attribute): New static function.
758
759 2010-09-27  Nicola Pero  <nicola.pero@meta-innovation.com>
760
761         Merge from 'apple/trunk' branch on FSF servers. 
762
763         2005-12-15  Fariborz Jahanian <fjahanian@apple.com>
764
765         Radar 4229905   
766         * c-common.h (objc_have_common_type): New declaration.
767         * stub-objc.c (objc_have_common_type): New stub.
768
769         2005-06-22  Ziemowit Laski  <zlaski@apple.com>
770
771         Radar 4154928
772         * c-common.h (objc_common_type): New prototype.
773         * stub-objc.c (objc_common_type): New stub.     
774
775 2010-09-24  Jan Hubicka  <jh@suse.cz>
776
777         * c-common.c (handle_leaf_attribute): New function.
778         (struct attribute_spec c_common_att): Add leaf.
779
780 2010-09-22  Joseph Myers  <joseph@codesourcery.com>
781
782         * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
783         -comments-in-macros, -define-macro, -define-macro=, -dependencies,
784         -dump, -dump=, -imacros, -imacros=, -include, -include=,
785         -include-barrier, -include-directory, -include-directory=,
786         -include-directory-after, -include-directory-after=,
787         -include-prefix, -include-prefix=, -include-with-prefix,
788         -include-with-prefix=, -include-with-prefix-after,
789         -include-with-prefix-after=, -include-with-prefix-before,
790         -include-with-prefix-before=, -no-integrated-cpp,
791         -no-line-commands, -no-standard-includes, -no-warnings, -output,
792         -output=, -pedantic, -pedantic-errors, -preprocess,
793         -print-missing-file-dependencies, -trace-includes, -traditional,
794         -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
795         -user-dependencies, -verbose, -write-dependencies,
796         -write-user-dependencies, no-integrated-cpp, traditional): New.
797
798 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
799
800         PR objc/23710
801         * c-common.h (objc_start_method_definition): Return bool instead
802         of void.
803         * stub-objc.c (objc_start_method_definition): Return bool instead
804         of void.
805
806 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
807
808         PR objc/25965
809         * c-common.h (objc_get_interface_ivars): New declaration.
810         * stub-objc.c (objc_get_interface_ivars): New stub.
811
812 2010-09-15  Ian Lance Taylor  <iant@google.com>
813
814         * c-common.c (parse_optimize_options): Do not capitalize warning
815         messages.  Remove period at end of warning message.
816
817 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
818
819         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
820         (handle_alias_attribute): ... here.
821         (handle_ifunc_attribute): New.
822
823 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
824
825         * c-common.h (do_warn_double_promotion): Declare.
826         * c-common.c (do_warn_double_promotion): Define.
827
828 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
829
830         * c.opt (Wdouble-promotion): New.
831
832 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
833
834         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
835         fvtable-thunks, fxref): Mark no longer supported in help text.
836
837 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
838
839         * c.opt (Wimport, fall-virtual, falt-external-templates,
840         fdefault-inline, fenum-int-equiv, fexternal-templates,
841         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
842         fname-mangling-version-, fnew-abi, fnonnull-objects,
843         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
844         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
845         applicable.
846         (fhandle-exceptions): Mark with Alias and Warn.
847         * c-opts.c (c_common_handle_option): Don't handle options marked
848         as ignored.
849
850 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
851
852         * c.opt (Wcomments, Werror-implicit-function-declaration,
853         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
854         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
855         aliases.
856         * c-common.c (option_codes): Use OPT_Wcomment instead of
857         OPT_Wcomments.
858         * c-opts.c (warning_as_error_callback, c_common_handle_option):
859         Don't handle options marked as aliases.
860
861 2010-08-25  Richard Guenther  <rguenther@suse.de>
862
863         * c-common.c (c_common_get_alias_set): Remove special
864         handling for pointers.
865
866 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
867
868         * c-common.c: Use FOR_EACH_VEC_ELT.
869         * c-gimplify.c: Likewise.
870         * c-pragma.c: Likewise.
871
872 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
873
874         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
875         RejectDriver.
876         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
877         RejectDriver.
878         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
879         instead of OPT_MDX and OPT_MMDX.
880
881 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
882
883         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
884
885 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
886
887         * c.opt (MD, MMD): Change to MDX and MMDX.
888         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
889
890 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
891
892         * c-opts.c (c_common_handle_option): Call handle_generated_option
893         instead of handle_option.
894
895 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
896
897         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
898         (maybe_apply_renaming_pragma): Delete unneeded declarations.
899
900 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
901
902         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
903         (pending_redefine_extname): Change type to a VEC.
904         (add_to_renaming_pragma_list): Update for new type of
905         pending_redefine_extname.
906         (maybe_apply_renaming_pragma): Likewise.
907
908 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
909
910         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
911         visited.
912         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
913         decide whether a type has already been declared/seen.
914         Do not go to the original type.
915         (dump_nested_types): New parameter forward.
916         Generate forward declaration if needed and mark type as visited.
917         (print_ada_declaration): Call dump_nested_types if not already done.
918         Mark types as visited.
919
920 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
921
922         * c.opt (-print-pch-checksum): Remove option.
923         * c-opts.c (c_common_handle_option): Don't handle
924         OPT_print_pch_checksum.
925
926 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
927
928         * c-common.h (c_common_handle_option): Update prototype and return
929         value type.
930         * c-opts.c (c_common_handle_option): Update prototype and return
931         value type.  Update calls to handle_option and
932         enable_warning_as_error.
933
934 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
935
936         PR c/45079
937         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
938
939 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
940
941         * c-common.h (c_common_missing_argument): Remove.
942         * c-opts.c (c_common_missing_argument): Remove.
943         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
944         idirafter, imacros, include, isysroot, isystem, iquote): Add
945         MissingArgError.
946         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
947
948 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
949
950         * c-common.h (c_common_option_lang_mask,
951         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
952         New.
953         (c_common_init_options): Update prototype.
954         * c-opts.c (c_common_option_lang_mask): New.
955         (c_common_initialize_diagnostics): Split out of
956         c_common_init_options.
957         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
958         New.
959         (c_common_init_options): Update prototype.  Use decoded options in
960         search for -lang-asm.
961
962 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
963
964         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
965         * c-format.c: Likewise.
966
967 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
968
969         * c-common.h: Include diagnostic-core.h. Error if already
970         included.
971         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
972
973 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
974
975         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
976         Do not include expr.h
977         (vector_mode_valid_p): Move here.
978
979 2010-06-21  DJ Delorie  <dj@redhat.com>
980
981         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
982         allow these pragmas anywhere.
983
984 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
985
986         PR bootstrap/44509
987         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
988         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
989         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
990         ggc_strdup instead of xstrdup.
991
992 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
993
994         * c-cppbuiltin.c: Include cpp-id-data.h.
995         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
996         (lazy_hex_fp_value): New function.
997         (builtin_define_with_hex_fp_value): Provide definitions lazily.
998
999 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1000
1001         * c-gimplify.c: Do not include tree-flow.h
1002
1003 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
1004
1005         PR other/44034
1006         * c-common.c: Rename targetm member:
1007         targetm.enum_va_list -> targetm.enum_va_list_p
1008
1009 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
1010
1011         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1012
1013 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
1014
1015         * c-cppbuiltin.c: Do not include except.h.
1016
1017 2010-06-24  Andi Kleen  <ak@linux.intel.com>
1018
1019         * c-common.c (warn_for_omitted_condop): New.
1020         * c-common.h (warn_for_omitted_condop): Add prototype.
1021
1022 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
1023
1024         * c.opt (lang-objc): Remove.
1025         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1026
1027 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1028
1029         * c-opts.c: Include "tm_p.h".
1030
1031 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
1032
1033         * c-common.c (parse_optimize_options): Update call to
1034         decode_options.
1035
1036 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
1037
1038         * c-common.c (record_types_used_by_current_var_decl): Adjust for
1039         new type of types_used_by_cur_var_decl.
1040
1041 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
1042
1043         PR bootstrap/44512
1044         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1045         for C++ standard compliance.
1046
1047 2010-06-16  Jason Merrill  <jason@redhat.com>
1048
1049         * c.opt: Add -Wnoexcept.
1050
1051 2010-06-16  Richard Guenther  <rguenther@suse.de>
1052
1053         PR c/44555
1054         * c-common.c (c_common_truthvalue_conversion): Remove
1055         premature and wrong optimization concering ADDR_EXPRs.
1056
1057 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
1058
1059         * c-ada-spec.c (dump_sloc): Remove column info.
1060         (is_simple_enum): New function.
1061         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1062         enum types when relevant.
1063
1064 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1065
1066         * c-common.c (conversion_warning): Warn at expression
1067         location.
1068
1069 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
1070
1071         * c-opts.c (c_common_handle_option): Don't handle
1072         OPT_fshow_column.
1073
1074 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1075
1076         * c-pragma.c (push_alignment): Use typed GC allocation.
1077         (handle_pragma_push_options): Likewise.
1078
1079         * c-common.c (parse_optimize_options): Likewise.
1080
1081         * c-common.h (struct sorted_fields_type): Add variable_size GTY
1082         option.
1083
1084 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
1085
1086         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1087         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1088         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1089         flag_signed_bitfields, warn_strict_null_sentinel,
1090         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1091         flag_gen_declaration, flag_no_gnu_keywords,
1092         flag_implement_inlines, flag_implicit_templates,
1093         flag_implicit_inline_templates, flag_optional_diags,
1094         flag_elide_constructors, flag_default_inline, flag_rtti,
1095         flag_conserve_space, flag_access_control, flag_check_new,
1096         flag_new_for_scope, flag_weak, flag_working_directory,
1097         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1098         flag_enforce_eh_specs, flag_threadsafe_statics,
1099         flag_pretty_templates): Remove.
1100         * c-common.h (flag_preprocess_only, flag_nil_receivers,
1101         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1102         flag_replace_objc_classes, flag_undef, flag_no_builtin,
1103         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1104         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1105         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1106         flag_no_gnu_keywords, flag_implement_inlines,
1107         flag_implicit_templates, flag_implicit_inline_templates,
1108         flag_optional_diags, flag_elide_constructors, flag_default_inline,
1109         flag_rtti, flag_conserve_space, flag_access_control,
1110         flag_check_new, flag_new_for_scope, flag_weak,
1111         flag_working_directory, flag_use_cxa_atexit,
1112         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1113         flag_threadsafe_statics, flag_pretty_templates,
1114         warn_strict_null_sentinel): Remove.
1115         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1116         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1117         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1118         fimplicit-inline-templates, fimplicit-templates,
1119         flax-vector-conversions, fms-extensions, fnil-receivers,
1120         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1121         frtti, fshort-double, fshort-enums, fshort-wchar,
1122         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1123         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1124         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1125         gen-decls, undef): Use Var.
1126         (fdefault-inline, foptional-diags): Document as doing nothing.
1127         * c-opts.c (c_common_handle_option): Remove cases for options now
1128         using Var.  Mark ignored options as such.
1129
1130 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
1131
1132         * c-common.c: Moved to here from parent directory. 
1133         * c-common.def: Likewise.
1134         * c-common.h: Likewise.
1135         * c-cppbuiltin.c: Likewise.
1136         * c-dump.c: Likewise.
1137         * c-format.c: Likewise.
1138         * c-format.h : Likewise.
1139         * c-gimplify.c: Likewise.
1140         * c-lex.c: Likewise.
1141         * c-omp.c: Likewise.
1142         * c.opt: Likewise.
1143         * c-opts.c: Likewise.
1144         * c-pch.c: Likewise.
1145         * c-ppoutput.c: Likewise.
1146         * c-pragma.c: Likewise.
1147         * c-pragma.h: Likewise.
1148         * c-pretty-print.c: Likewise.
1149         * c-pretty-print.h: Likewise.
1150         * c-semantics.c: Likewise.
1151         * stub-objc.c: Likewise.
1152
1153         * c-common.c: Include gt-c-family-c-common.h.
1154         * c-pragma.c: Include gt-c-family-c-pragma.h.
1155 \f
1156 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1157
1158 Copying and distribution of this file, with or without modification,
1159 are permitted in any medium without royalty provided the copyright
1160 notice and this notice are preserved.