OSDN Git Service

Fix PR 46041
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2010-10-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
2
3         PR target/46041
4         * c-cppbuiltin.c (mode_has_fma): Move function here from
5         builtins.c.  Don't use the fma optab, instead just use the
6         HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
7         using -save-temps.
8
9 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
10
11         Merge from 'apple/trunk' branch on FSF servers.
12
13         2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
14
15         Radar 4330422
16         * c-common.h (objc_non_volatilized_type): New declaration
17         * stub-objc.c (objc_non_volatilized_type): New stub.
18
19 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
20
21         Merge from 'apple/trunk' branch on FSF servers.
22
23         2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
24
25         Radar 4133425
26         * c-common.h (objc_diagnose_private_ivar): New decl.
27         * stub-objc.c (objc_diagnose_private_ivar): New stub.
28
29 2010-10-17  Iain Sandoe  <iains@gcc.gnu.org>
30
31         * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
32         * c-common.h (enum rid): Add RID_AT_PACKAGE.
33         (objc_ivar_visibility_kind): New enum.
34         (objc_set_visibility): Adjust prototype to use visibility enum.
35         * stub-objc.c (objc_set_visibility): Adjust stub to use
36         visibility enum.
37
38 2010-10-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
39
40         * c-cppbuiltin.c (builtin_define_float_constants): Emit
41         __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
42         has the appropriate fma builtins.
43         (c_cpp_builtins): Adjust call to builtin_define_float_constants.
44
45 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
46
47         merge from FSF apple 'trunk' branch.
48         2006 Fariborz Jahanian <fjahanian@apple.com>
49
50         Radars 4436866, 4505126, 4506903, 4517826
51         * c-common.c (c_common_resword): Define @property and its attributes.
52         * c-common.h: Define property attribute enum entries.
53         (OBJC_IS_PATTR_KEYWORD): New.
54         (objc_property_attribute_kind): New enum.
55         Declare objc_set_property_attr (), objc_add_property_variable (),
56         objc_build_getter_call () and objc_build_setter_call ().
57         * stub-objc.c (objc_set_property_attr): New stub.
58         (objc_add_property_variable): Likewise.
59         (objc_build_getter_call): Likewise.
60         (objc_build_setter_call) Likewise.
61
62 2010-10-13  Iain Sandoe  <iains@gcc.gnu.org>
63
64         merge from FSF apple 'trunk' branch.
65         2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
66
67         Radar 3803157 (method attributes)
68         * c-common.c (handle_deprecated_attribute): Recognize
69         objc methods as valid declarations.
70         * c-common.h: Declare objc_method_decl ().
71         * stub-objc.c (objc_method_decl): New stub.
72
73 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
74
75         * c-common.c (parse_optimize_options): Call
76         decode_cmdline_options_to_array_default_mask before
77         decode_options.  Update arguments to decode_options.
78         * c-common.h (c_common_init_options_struct): Declare.
79         * c-opts.c (c_common_init_options_struct): New.  Split out from
80         c_common_init_options.
81
82 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
83
84         Implemented fast enumeration for Objective-C.
85         * c-common.h (objc_finish_foreach_loop): New.
86         * stub-objc.c (objc_finish_foreach_loop): New.
87
88 2010-10-05  Joseph Myers  <joseph@codesourcery.com>
89
90         * c-common.h (struct diagnostic_context): Don't declare here.
91         (c_common_initialize_diagnostics): Declare using
92         diagnostic_context typedef.
93         * c-opts.c (c_common_handle_option): Pass global_dc to
94         handle_generated_option.
95
96 2010-10-04  Joseph Myers  <joseph@codesourcery.com>
97
98         * c-opts.c (c_common_handle_option): Pass &global_options_set to
99         handle_generated_option.
100
101 2010-10-03  Ian Lance Taylor  <iant@google.com>
102
103         * c.opt (-fplan9-extensions): New option.
104
105 2010-10-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
106
107         * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
108         Remove.
109         (c_cpp_builtins): Call functions from cppbuiltin.c instead
110         of duplicating code.
111
112 2010-09-30  Iain Sandoe  <iains@gcc.gnu.org>
113
114         * c-common.c: Add two new entries for @optional
115         and @required keywords.
116
117         merge from FSF 'apple/trunk' branch.
118         2006-01-30  Fariborz Jahanian <fjahanian@apple.com>
119
120         Radar 4386773
121         * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
122         objective-c keywords.
123         (objc_set_method_opt): New declaration.
124         * stub-objc.c (objc_set_method_opt): New stub.
125         
126 2010-09-30  Joseph Myers  <joseph@codesourcery.com>
127
128         * c-common.c (handle_optimize_attribute): Pass &global_options to
129         cl_optimization_save and cl_optimization_restore.
130         * c-opts.c (c_common_handle_option): Pass &global_options to
131         handle_generated_option.
132         * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
133         (handle_pragma_pop_options, handle_pragma_reset_options): Pass
134         &global_options to cl_optimization_restore.
135
136 2010-09-30  Nicola Pero  <nicola.pero@meta-innovation.com>
137
138         * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
139         Objective-C/Objective-C++ keywords.
140
141 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
142
143         Merge from 'apple/trunk' branch on FSF servers. 
144         
145         2005-10-04  Fariborz Jahanian <fjahanian@apple.com>
146
147         Radar 4281748
148         * c-common.h (objc_check_global_decl): New declaration.
149         * stub-objc.c (objc_check_global_decl): New stub.
150
151 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
152
153         * c.opt: Don't use VarExists.
154
155 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
156
157         * c-common.c (c_cpp_error): Update names of diagnostic_context
158         members.
159         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
160         cl_optimization members.
161         * c-opts.c (warning_as_error_callback, c_common_handle_option,
162         sanitize_cpp_opts, finish_options): Update names of cpp_options
163         members.
164
165 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
166
167         * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
168         (objc_is_reserved_word): Removed.
169         * c-common.c: Updated comments.
170         * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
171         objc_is_reserved_word.
172         * stub-objc.c (objc_is_reserved_word): Removed.
173
174 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
175
176         * c-common.h (objc_add_method_declaration): Adjust prototype to 
177         include attributes.
178         (objc_start_method_definition): Likewise.
179         (objc_build_keyword_decl): Likewise.
180         * stub-objc.c:(objc_add_method_declaration): Handle attributes.
181         (objc_start_method_definition): Likewise.
182         (objc_build_keyword_decl): Likewise.
183
184 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
185
186         * c-common.h (objc_start_class_interface): Adjust prototype.
187         (objc_start_category_interface): Likewise.
188         (objc_start_protocol): Likewise.
189         * stub-objc.c (objc_start_protocol): Adjust for extra argument.
190         (objc_start_class_interface): Likewise.
191         (objc_start_category_interface): Likewise.
192
193 2010-09-27  Ian Lance Taylor  <iant@google.com>
194
195         * c-common.c (c_common_attribute_table): Add no_split_stack.
196         (handle_no_split_stack_attribute): New static function.
197
198 2010-09-27  Nicola Pero  <nicola.pero@meta-innovation.com>
199
200         Merge from 'apple/trunk' branch on FSF servers. 
201
202         2005-12-15  Fariborz Jahanian <fjahanian@apple.com>
203
204         Radar 4229905   
205         * c-common.h (objc_have_common_type): New declaration.
206         * stub-objc.c (objc_have_common_type): New stub.
207
208         2005-06-22  Ziemowit Laski  <zlaski@apple.com>
209
210         Radar 4154928
211         * c-common.h (objc_common_type): New prototype.
212         * stub-objc.c (objc_common_type): New stub.     
213
214 2010-09-24  Jan Hubicka  <jh@suse.cz>
215
216         * c-common.c (handle_leaf_attribute): New function.
217         (struct attribute_spec c_common_att): Add leaf.
218
219 2010-09-22  Joseph Myers  <joseph@codesourcery.com>
220
221         * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
222         -comments-in-macros, -define-macro, -define-macro=, -dependencies,
223         -dump, -dump=, -imacros, -imacros=, -include, -include=,
224         -include-barrier, -include-directory, -include-directory=,
225         -include-directory-after, -include-directory-after=,
226         -include-prefix, -include-prefix=, -include-with-prefix,
227         -include-with-prefix=, -include-with-prefix-after,
228         -include-with-prefix-after=, -include-with-prefix-before,
229         -include-with-prefix-before=, -no-integrated-cpp,
230         -no-line-commands, -no-standard-includes, -no-warnings, -output,
231         -output=, -pedantic, -pedantic-errors, -preprocess,
232         -print-missing-file-dependencies, -trace-includes, -traditional,
233         -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
234         -user-dependencies, -verbose, -write-dependencies,
235         -write-user-dependencies, no-integrated-cpp, traditional): New.
236
237 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
238
239         PR objc/23710
240         * c-common.h (objc_start_method_definition): Return bool instead
241         of void.
242         * stub-objc.c (objc_start_method_definition): Return bool instead
243         of void.
244
245 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
246
247         PR objc/25965
248         * c-common.h (objc_get_interface_ivars): New declaration.
249         * stub-objc.c (objc_get_interface_ivars): New stub.
250
251 2010-09-15  Ian Lance Taylor  <iant@google.com>
252
253         * c-common.c (parse_optimize_options): Do not capitalize warning
254         messages.  Remove period at end of warning message.
255
256 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
257
258         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
259         (handle_alias_attribute): ... here.
260         (handle_ifunc_attribute): New.
261
262 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
263
264         * c-common.h (do_warn_double_promotion): Declare.
265         * c-common.c (do_warn_double_promotion): Define.
266
267 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
268
269         * c.opt (Wdouble-promotion): New.
270
271 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
272
273         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
274         fvtable-thunks, fxref): Mark no longer supported in help text.
275
276 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
277
278         * c.opt (Wimport, fall-virtual, falt-external-templates,
279         fdefault-inline, fenum-int-equiv, fexternal-templates,
280         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
281         fname-mangling-version-, fnew-abi, fnonnull-objects,
282         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
283         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
284         applicable.
285         (fhandle-exceptions): Mark with Alias and Warn.
286         * c-opts.c (c_common_handle_option): Don't handle options marked
287         as ignored.
288
289 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
290
291         * c.opt (Wcomments, Werror-implicit-function-declaration,
292         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
293         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
294         aliases.
295         * c-common.c (option_codes): Use OPT_Wcomment instead of
296         OPT_Wcomments.
297         * c-opts.c (warning_as_error_callback, c_common_handle_option):
298         Don't handle options marked as aliases.
299
300 2010-08-25  Richard Guenther  <rguenther@suse.de>
301
302         * c-common.c (c_common_get_alias_set): Remove special
303         handling for pointers.
304
305 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
306
307         * c-common.c: Use FOR_EACH_VEC_ELT.
308         * c-gimplify.c: Likewise.
309         * c-pragma.c: Likewise.
310
311 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
312
313         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
314         RejectDriver.
315         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
316         RejectDriver.
317         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
318         instead of OPT_MDX and OPT_MMDX.
319
320 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
321
322         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
323
324 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
325
326         * c.opt (MD, MMD): Change to MDX and MMDX.
327         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
328
329 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
330
331         * c-opts.c (c_common_handle_option): Call handle_generated_option
332         instead of handle_option.
333
334 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
335
336         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
337         (maybe_apply_renaming_pragma): Delete unneeded declarations.
338
339 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
340
341         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
342         (pending_redefine_extname): Change type to a VEC.
343         (add_to_renaming_pragma_list): Update for new type of
344         pending_redefine_extname.
345         (maybe_apply_renaming_pragma): Likewise.
346
347 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
348
349         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
350         visited.
351         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
352         decide whether a type has already been declared/seen.
353         Do not go to the original type.
354         (dump_nested_types): New parameter forward.
355         Generate forward declaration if needed and mark type as visited.
356         (print_ada_declaration): Call dump_nested_types if not already done.
357         Mark types as visited.
358
359 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
360
361         * c.opt (-print-pch-checksum): Remove option.
362         * c-opts.c (c_common_handle_option): Don't handle
363         OPT_print_pch_checksum.
364
365 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
366
367         * c-common.h (c_common_handle_option): Update prototype and return
368         value type.
369         * c-opts.c (c_common_handle_option): Update prototype and return
370         value type.  Update calls to handle_option and
371         enable_warning_as_error.
372
373 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
374
375         PR c/45079
376         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
377
378 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
379
380         * c-common.h (c_common_missing_argument): Remove.
381         * c-opts.c (c_common_missing_argument): Remove.
382         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
383         idirafter, imacros, include, isysroot, isystem, iquote): Add
384         MissingArgError.
385         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
386
387 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
388
389         * c-common.h (c_common_option_lang_mask,
390         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
391         New.
392         (c_common_init_options): Update prototype.
393         * c-opts.c (c_common_option_lang_mask): New.
394         (c_common_initialize_diagnostics): Split out of
395         c_common_init_options.
396         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
397         New.
398         (c_common_init_options): Update prototype.  Use decoded options in
399         search for -lang-asm.
400
401 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
402
403         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
404         * c-format.c: Likewise.
405
406 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
407
408         * c-common.h: Include diagnostic-core.h. Error if already
409         included.
410         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
411
412 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
413
414         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
415         Do not include expr.h
416         (vector_mode_valid_p): Move here.
417
418 2010-06-21  DJ Delorie  <dj@redhat.com>
419
420         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
421         allow these pragmas anywhere.
422
423 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
424
425         PR bootstrap/44509
426         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
427         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
428         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
429         ggc_strdup instead of xstrdup.
430
431 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
432
433         * c-cppbuiltin.c: Include cpp-id-data.h.
434         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
435         (lazy_hex_fp_value): New function.
436         (builtin_define_with_hex_fp_value): Provide definitions lazily.
437
438 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
439
440         * c-gimplify.c: Do not include tree-flow.h
441
442 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
443
444         PR other/44034
445         * c-common.c: Rename targetm member:
446         targetm.enum_va_list -> targetm.enum_va_list_p
447
448 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
449
450         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
451
452 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
453
454         * c-cppbuiltin.c: Do not include except.h.
455
456 2010-06-24  Andi Kleen  <ak@linux.intel.com>
457
458         * c-common.c (warn_for_omitted_condop): New.
459         * c-common.h (warn_for_omitted_condop): Add prototype.
460
461 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
462
463         * c.opt (lang-objc): Remove.
464         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
465
466 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
467
468         * c-opts.c: Include "tm_p.h".
469
470 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
471
472         * c-common.c (parse_optimize_options): Update call to
473         decode_options.
474
475 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
476
477         * c-common.c (record_types_used_by_current_var_decl): Adjust for
478         new type of types_used_by_cur_var_decl.
479
480 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
481
482         PR bootstrap/44512
483         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
484         for C++ standard compliance.
485
486 2010-06-16  Jason Merrill  <jason@redhat.com>
487
488         * c.opt: Add -Wnoexcept.
489
490 2010-06-16  Richard Guenther  <rguenther@suse.de>
491
492         PR c/44555
493         * c-common.c (c_common_truthvalue_conversion): Remove
494         premature and wrong optimization concering ADDR_EXPRs.
495
496 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
497
498         * c-ada-spec.c (dump_sloc): Remove column info.
499         (is_simple_enum): New function.
500         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
501         enum types when relevant.
502
503 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
504
505         * c-common.c (conversion_warning): Warn at expression
506         location.
507
508 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
509
510         * c-opts.c (c_common_handle_option): Don't handle
511         OPT_fshow_column.
512
513 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
514
515         * c-pragma.c (push_alignment): Use typed GC allocation.
516         (handle_pragma_push_options): Likewise.
517
518         * c-common.c (parse_optimize_options): Likewise.
519
520         * c-common.h (struct sorted_fields_type): Add variable_size GTY
521         option.
522
523 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
524
525         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
526         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
527         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
528         flag_signed_bitfields, warn_strict_null_sentinel,
529         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
530         flag_gen_declaration, flag_no_gnu_keywords,
531         flag_implement_inlines, flag_implicit_templates,
532         flag_implicit_inline_templates, flag_optional_diags,
533         flag_elide_constructors, flag_default_inline, flag_rtti,
534         flag_conserve_space, flag_access_control, flag_check_new,
535         flag_new_for_scope, flag_weak, flag_working_directory,
536         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
537         flag_enforce_eh_specs, flag_threadsafe_statics,
538         flag_pretty_templates): Remove.
539         * c-common.h (flag_preprocess_only, flag_nil_receivers,
540         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
541         flag_replace_objc_classes, flag_undef, flag_no_builtin,
542         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
543         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
544         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
545         flag_no_gnu_keywords, flag_implement_inlines,
546         flag_implicit_templates, flag_implicit_inline_templates,
547         flag_optional_diags, flag_elide_constructors, flag_default_inline,
548         flag_rtti, flag_conserve_space, flag_access_control,
549         flag_check_new, flag_new_for_scope, flag_weak,
550         flag_working_directory, flag_use_cxa_atexit,
551         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
552         flag_threadsafe_statics, flag_pretty_templates,
553         warn_strict_null_sentinel): Remove.
554         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
555         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
556         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
557         fimplicit-inline-templates, fimplicit-templates,
558         flax-vector-conversions, fms-extensions, fnil-receivers,
559         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
560         frtti, fshort-double, fshort-enums, fshort-wchar,
561         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
562         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
563         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
564         gen-decls, undef): Use Var.
565         (fdefault-inline, foptional-diags): Document as doing nothing.
566         * c-opts.c (c_common_handle_option): Remove cases for options now
567         using Var.  Mark ignored options as such.
568
569 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
570
571         * c-common.c: Moved to here from parent directory. 
572         * c-common.def: Likewise.
573         * c-common.h: Likewise.
574         * c-cppbuiltin.c: Likewise.
575         * c-dump.c: Likewise.
576         * c-format.c: Likewise.
577         * c-format.h : Likewise.
578         * c-gimplify.c: Likewise.
579         * c-lex.c: Likewise.
580         * c-omp.c: Likewise.
581         * c.opt: Likewise.
582         * c-opts.c: Likewise.
583         * c-pch.c: Likewise.
584         * c-ppoutput.c: Likewise.
585         * c-pragma.c: Likewise.
586         * c-pragma.h: Likewise.
587         * c-pretty-print.c: Likewise.
588         * c-pretty-print.h: Likewise.
589         * c-semantics.c: Likewise.
590         * stub-objc.c: Likewise.
591
592         * c-common.c: Include gt-c-family-c-common.h.
593         * c-pragma.c: Include gt-c-family-c-pragma.h.
594 \f
595 Copyright (C) 2010 Free Software Foundation, Inc.
596
597 Copying and distribution of this file, with or without modification,
598 are permitted in any medium without royalty provided the copyright
599 notice and this notice are preserved.