1 2010-10-29 Arnaud Charlet <charlet@adacore.com>
2 Matthew Gingell <gingell@adacore.com>
4 * c-ada-spec.c (separate_class_package): New function.
5 (pp_ada_tree_identifier): Prefix references to C++ classes with the
6 name of their enclosing package.
7 (print_ada_declaration): Use separate_class_package.
9 2010-10-27 Jason Merrill <jason@redhat.com>
11 * c-common.c (c_common_reswords): Add __is_literal_type.
12 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
14 * c-common.c (check_case_value): Remove special C++ code.
16 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
18 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
19 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
21 (objc_add_property_declaration): Added additional arguments.
22 (objc_property_attribute_kind): Removed.
23 (objc_set_property_attr): Removed.
24 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
26 * stub-objc.c (objc_add_property_declaration): Added additional
28 (objc_set_property_attr): Removed.
30 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
32 * c-common.h (objc_add_property_variable): Renamed to
33 objc_add_property_declaration. Added location argument.
34 * stub-objc.c (objc_add_property_variable): Same change.
36 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
38 * c-common.h (objc_maybe_printable_name): New.
39 * stub-objc.c (objc_maybe_printable_name): New.
41 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
42 Andrew Pinski <pinskia@gmail.com>
44 * c-common.h (c_common_mark_addressable_vec): Declare.
45 * c-common.c (c_common_mark_addressable_vec): New function.
47 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
49 * c-common.h (objc_set_method_type): Removed.
50 (objc_add_method_declaration): Added boolean argument.
51 (objc_start_method_definition): Same change.
52 (objc_build_method_signature): Same change.
53 * stub-objc.c (objc_set_method_type): Removed.
54 (objc_add_method_declaration): Added boolean argument.
55 (objc_start_method_definition): Same change.
56 (objc_build_method_signature): Same change.
58 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
60 * c-common.h (finish_file): Removed.
61 (objc_write_global_declarations): New.
62 * c-opts.c (c_common_parse_file): Do not call finish_file.
63 * stub-objc.c (objc_write_global_declarations): New.
65 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
67 Implemented parsing @synthesize and @dynamic for
68 Objective-C/Objective-C++.
69 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
70 (objc_add_synthesize_declaration): New.
71 (objc_add_dynamic_declaration): New.
72 * c-common.c (c_common_reswords): Add synthesize and dynamic.
73 * stub-objc.c (objc_add_synthesize_declaration): New.
74 (objc_add_dynamic_declaration): New.
76 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
79 * c-cppbuiltin.c (mode_has_fma): Move function here from
80 builtins.c. Don't use the fma optab, instead just use the
81 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
84 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
86 Merge from 'apple/trunk' branch on FSF servers.
88 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
91 * c-common.h (objc_non_volatilized_type): New declaration
92 * stub-objc.c (objc_non_volatilized_type): New stub.
94 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
96 Merge from 'apple/trunk' branch on FSF servers.
98 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
101 * c-common.h (objc_diagnose_private_ivar): New decl.
102 * stub-objc.c (objc_diagnose_private_ivar): New stub.
104 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
106 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
107 * c-common.h (enum rid): Add RID_AT_PACKAGE.
108 (objc_ivar_visibility_kind): New enum.
109 (objc_set_visibility): Adjust prototype to use visibility enum.
110 * stub-objc.c (objc_set_visibility): Adjust stub to use
113 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
115 * c-cppbuiltin.c (builtin_define_float_constants): Emit
116 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
117 has the appropriate fma builtins.
118 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
120 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
122 merge from FSF apple 'trunk' branch.
123 2006 Fariborz Jahanian <fjahanian@apple.com>
125 Radars 4436866, 4505126, 4506903, 4517826
126 * c-common.c (c_common_resword): Define @property and its attributes.
127 * c-common.h: Define property attribute enum entries.
128 (OBJC_IS_PATTR_KEYWORD): New.
129 (objc_property_attribute_kind): New enum.
130 Declare objc_set_property_attr (), objc_add_property_variable (),
131 objc_build_getter_call () and objc_build_setter_call ().
132 * stub-objc.c (objc_set_property_attr): New stub.
133 (objc_add_property_variable): Likewise.
134 (objc_build_getter_call): Likewise.
135 (objc_build_setter_call) Likewise.
137 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
139 merge from FSF apple 'trunk' branch.
140 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
142 Radar 3803157 (method attributes)
143 * c-common.c (handle_deprecated_attribute): Recognize
144 objc methods as valid declarations.
145 * c-common.h: Declare objc_method_decl ().
146 * stub-objc.c (objc_method_decl): New stub.
148 2010-10-08 Joseph Myers <joseph@codesourcery.com>
150 * c-common.c (parse_optimize_options): Call
151 decode_cmdline_options_to_array_default_mask before
152 decode_options. Update arguments to decode_options.
153 * c-common.h (c_common_init_options_struct): Declare.
154 * c-opts.c (c_common_init_options_struct): New. Split out from
155 c_common_init_options.
157 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
159 Implemented fast enumeration for Objective-C.
160 * c-common.h (objc_finish_foreach_loop): New.
161 * stub-objc.c (objc_finish_foreach_loop): New.
163 2010-10-05 Joseph Myers <joseph@codesourcery.com>
165 * c-common.h (struct diagnostic_context): Don't declare here.
166 (c_common_initialize_diagnostics): Declare using
167 diagnostic_context typedef.
168 * c-opts.c (c_common_handle_option): Pass global_dc to
169 handle_generated_option.
171 2010-10-04 Joseph Myers <joseph@codesourcery.com>
173 * c-opts.c (c_common_handle_option): Pass &global_options_set to
174 handle_generated_option.
176 2010-10-03 Ian Lance Taylor <iant@google.com>
178 * c.opt (-fplan9-extensions): New option.
180 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
182 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
184 (c_cpp_builtins): Call functions from cppbuiltin.c instead
187 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
189 * c-common.c: Add two new entries for @optional
190 and @required keywords.
192 merge from FSF 'apple/trunk' branch.
193 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
196 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
197 objective-c keywords.
198 (objc_set_method_opt): New declaration.
199 * stub-objc.c (objc_set_method_opt): New stub.
201 2010-09-30 Joseph Myers <joseph@codesourcery.com>
203 * c-common.c (handle_optimize_attribute): Pass &global_options to
204 cl_optimization_save and cl_optimization_restore.
205 * c-opts.c (c_common_handle_option): Pass &global_options to
206 handle_generated_option.
207 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
208 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
209 &global_options to cl_optimization_restore.
211 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
213 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
214 Objective-C/Objective-C++ keywords.
216 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
218 Merge from 'apple/trunk' branch on FSF servers.
220 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
223 * c-common.h (objc_check_global_decl): New declaration.
224 * stub-objc.c (objc_check_global_decl): New stub.
226 2010-09-29 Joseph Myers <joseph@codesourcery.com>
228 * c.opt: Don't use VarExists.
230 2010-09-29 Joseph Myers <joseph@codesourcery.com>
232 * c-common.c (c_cpp_error): Update names of diagnostic_context
234 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
235 cl_optimization members.
236 * c-opts.c (warning_as_error_callback, c_common_handle_option,
237 sanitize_cpp_opts, finish_options): Update names of cpp_options
240 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
242 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
243 (objc_is_reserved_word): Removed.
244 * c-common.c: Updated comments.
245 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
246 objc_is_reserved_word.
247 * stub-objc.c (objc_is_reserved_word): Removed.
249 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
251 * c-common.h (objc_add_method_declaration): Adjust prototype to
253 (objc_start_method_definition): Likewise.
254 (objc_build_keyword_decl): Likewise.
255 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
256 (objc_start_method_definition): Likewise.
257 (objc_build_keyword_decl): Likewise.
259 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
261 * c-common.h (objc_start_class_interface): Adjust prototype.
262 (objc_start_category_interface): Likewise.
263 (objc_start_protocol): Likewise.
264 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
265 (objc_start_class_interface): Likewise.
266 (objc_start_category_interface): Likewise.
268 2010-09-27 Ian Lance Taylor <iant@google.com>
270 * c-common.c (c_common_attribute_table): Add no_split_stack.
271 (handle_no_split_stack_attribute): New static function.
273 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
275 Merge from 'apple/trunk' branch on FSF servers.
277 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
280 * c-common.h (objc_have_common_type): New declaration.
281 * stub-objc.c (objc_have_common_type): New stub.
283 2005-06-22 Ziemowit Laski <zlaski@apple.com>
286 * c-common.h (objc_common_type): New prototype.
287 * stub-objc.c (objc_common_type): New stub.
289 2010-09-24 Jan Hubicka <jh@suse.cz>
291 * c-common.c (handle_leaf_attribute): New function.
292 (struct attribute_spec c_common_att): Add leaf.
294 2010-09-22 Joseph Myers <joseph@codesourcery.com>
296 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
297 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
298 -dump, -dump=, -imacros, -imacros=, -include, -include=,
299 -include-barrier, -include-directory, -include-directory=,
300 -include-directory-after, -include-directory-after=,
301 -include-prefix, -include-prefix=, -include-with-prefix,
302 -include-with-prefix=, -include-with-prefix-after,
303 -include-with-prefix-after=, -include-with-prefix-before,
304 -include-with-prefix-before=, -no-integrated-cpp,
305 -no-line-commands, -no-standard-includes, -no-warnings, -output,
306 -output=, -pedantic, -pedantic-errors, -preprocess,
307 -print-missing-file-dependencies, -trace-includes, -traditional,
308 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
309 -user-dependencies, -verbose, -write-dependencies,
310 -write-user-dependencies, no-integrated-cpp, traditional): New.
312 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
315 * c-common.h (objc_start_method_definition): Return bool instead
317 * stub-objc.c (objc_start_method_definition): Return bool instead
320 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
323 * c-common.h (objc_get_interface_ivars): New declaration.
324 * stub-objc.c (objc_get_interface_ivars): New stub.
326 2010-09-15 Ian Lance Taylor <iant@google.com>
328 * c-common.c (parse_optimize_options): Do not capitalize warning
329 messages. Remove period at end of warning message.
331 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
333 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
334 (handle_alias_attribute): ... here.
335 (handle_ifunc_attribute): New.
337 2010-09-06 Mark Mitchell <mark@codesourcery.com>
339 * c-common.h (do_warn_double_promotion): Declare.
340 * c-common.c (do_warn_double_promotion): Define.
342 2010-09-05 Mark Mitchell <mark@codesourcery.com>
344 * c.opt (Wdouble-promotion): New.
346 2010-09-02 Joseph Myers <joseph@codesourcery.com>
348 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
349 fvtable-thunks, fxref): Mark no longer supported in help text.
351 2010-09-02 Joseph Myers <joseph@codesourcery.com>
353 * c.opt (Wimport, fall-virtual, falt-external-templates,
354 fdefault-inline, fenum-int-equiv, fexternal-templates,
355 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
356 fname-mangling-version-, fnew-abi, fnonnull-objects,
357 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
358 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
360 (fhandle-exceptions): Mark with Alias and Warn.
361 * c-opts.c (c_common_handle_option): Don't handle options marked
364 2010-09-02 Joseph Myers <joseph@codesourcery.com>
366 * c.opt (Wcomments, Werror-implicit-function-declaration,
367 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
368 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
370 * c-common.c (option_codes): Use OPT_Wcomment instead of
372 * c-opts.c (warning_as_error_callback, c_common_handle_option):
373 Don't handle options marked as aliases.
375 2010-08-25 Richard Guenther <rguenther@suse.de>
377 * c-common.c (c_common_get_alias_set): Remove special
378 handling for pointers.
380 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
382 * c-common.c: Use FOR_EACH_VEC_ELT.
383 * c-gimplify.c: Likewise.
384 * c-pragma.c: Likewise.
386 2010-08-16 Joseph Myers <joseph@codesourcery.com>
388 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
390 (MMDX): Change back to MMD. Mark NoDriverArg instead of
392 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
393 instead of OPT_MDX and OPT_MMDX.
395 2010-08-16 Joseph Myers <joseph@codesourcery.com>
397 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
399 2010-08-12 Joseph Myers <joseph@codesourcery.com>
401 * c.opt (MD, MMD): Change to MDX and MMDX.
402 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
404 2010-08-11 Joseph Myers <joseph@codesourcery.com>
406 * c-opts.c (c_common_handle_option): Call handle_generated_option
407 instead of handle_option.
409 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
411 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
412 (maybe_apply_renaming_pragma): Delete unneeded declarations.
414 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
416 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
417 (pending_redefine_extname): Change type to a VEC.
418 (add_to_renaming_pragma_list): Update for new type of
419 pending_redefine_extname.
420 (maybe_apply_renaming_pragma): Likewise.
422 2010-08-04 Arnaud Charlet <charlet@adacore.com>
424 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
426 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
427 decide whether a type has already been declared/seen.
428 Do not go to the original type.
429 (dump_nested_types): New parameter forward.
430 Generate forward declaration if needed and mark type as visited.
431 (print_ada_declaration): Call dump_nested_types if not already done.
432 Mark types as visited.
434 2010-08-03 Joseph Myers <joseph@codesourcery.com>
436 * c.opt (-print-pch-checksum): Remove option.
437 * c-opts.c (c_common_handle_option): Don't handle
438 OPT_print_pch_checksum.
440 2010-07-27 Joseph Myers <joseph@codesourcery.com>
442 * c-common.h (c_common_handle_option): Update prototype and return
444 * c-opts.c (c_common_handle_option): Update prototype and return
445 value type. Update calls to handle_option and
446 enable_warning_as_error.
448 2010-07-27 Jakub Jelinek <jakub@redhat.com>
451 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
453 2010-07-27 Joseph Myers <joseph@codesourcery.com>
455 * c-common.h (c_common_missing_argument): Remove.
456 * c-opts.c (c_common_missing_argument): Remove.
457 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
458 idirafter, imacros, include, isysroot, isystem, iquote): Add
460 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
462 2010-07-27 Joseph Myers <joseph@codesourcery.com>
464 * c-common.h (c_common_option_lang_mask,
465 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
467 (c_common_init_options): Update prototype.
468 * c-opts.c (c_common_option_lang_mask): New.
469 (c_common_initialize_diagnostics): Split out of
470 c_common_init_options.
471 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
473 (c_common_init_options): Update prototype. Use decoded options in
474 search for -lang-asm.
476 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
478 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
479 * c-format.c: Likewise.
481 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
483 * c-common.h: Include diagnostic-core.h. Error if already
485 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
487 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
489 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
490 Do not include expr.h
491 (vector_mode_valid_p): Move here.
493 2010-06-21 DJ Delorie <dj@redhat.com>
495 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
496 allow these pragmas anywhere.
498 2010-06-14 Jakub Jelinek <jakub@redhat.com>
501 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
502 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
503 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
504 ggc_strdup instead of xstrdup.
506 2010-06-10 Jakub Jelinek <jakub@redhat.com>
508 * c-cppbuiltin.c: Include cpp-id-data.h.
509 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
510 (lazy_hex_fp_value): New function.
511 (builtin_define_with_hex_fp_value): Provide definitions lazily.
513 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
515 * c-gimplify.c: Do not include tree-flow.h
517 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
520 * c-common.c: Rename targetm member:
521 targetm.enum_va_list -> targetm.enum_va_list_p
523 2010-06-28 Anatoly Sokolov <aesok@post.ru>
525 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
527 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
529 * c-cppbuiltin.c: Do not include except.h.
531 2010-06-24 Andi Kleen <ak@linux.intel.com>
533 * c-common.c (warn_for_omitted_condop): New.
534 * c-common.h (warn_for_omitted_condop): Add prototype.
536 2010-06-21 Joseph Myers <joseph@codesourcery.com>
538 * c.opt (lang-objc): Remove.
539 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
541 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
543 * c-opts.c: Include "tm_p.h".
545 2010-06-20 Joseph Myers <joseph@codesourcery.com>
547 * c-common.c (parse_optimize_options): Update call to
550 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
552 * c-common.c (record_types_used_by_current_var_decl): Adjust for
553 new type of types_used_by_cur_var_decl.
555 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
558 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
559 for C++ standard compliance.
561 2010-06-16 Jason Merrill <jason@redhat.com>
563 * c.opt: Add -Wnoexcept.
565 2010-06-16 Richard Guenther <rguenther@suse.de>
568 * c-common.c (c_common_truthvalue_conversion): Remove
569 premature and wrong optimization concering ADDR_EXPRs.
571 2010-06-15 Arnaud Charlet <charlet@adacore.com>
573 * c-ada-spec.c (dump_sloc): Remove column info.
574 (is_simple_enum): New function.
575 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
576 enum types when relevant.
578 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
580 * c-common.c (conversion_warning): Warn at expression
583 2010-06-10 Joseph Myers <joseph@codesourcery.com>
585 * c-opts.c (c_common_handle_option): Don't handle
588 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
590 * c-pragma.c (push_alignment): Use typed GC allocation.
591 (handle_pragma_push_options): Likewise.
593 * c-common.c (parse_optimize_options): Likewise.
595 * c-common.h (struct sorted_fields_type): Add variable_size GTY
598 2010-06-07 Joseph Myers <joseph@codesourcery.com>
600 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
601 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
602 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
603 flag_signed_bitfields, warn_strict_null_sentinel,
604 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
605 flag_gen_declaration, flag_no_gnu_keywords,
606 flag_implement_inlines, flag_implicit_templates,
607 flag_implicit_inline_templates, flag_optional_diags,
608 flag_elide_constructors, flag_default_inline, flag_rtti,
609 flag_conserve_space, flag_access_control, flag_check_new,
610 flag_new_for_scope, flag_weak, flag_working_directory,
611 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
612 flag_enforce_eh_specs, flag_threadsafe_statics,
613 flag_pretty_templates): Remove.
614 * c-common.h (flag_preprocess_only, flag_nil_receivers,
615 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
616 flag_replace_objc_classes, flag_undef, flag_no_builtin,
617 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
618 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
619 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
620 flag_no_gnu_keywords, flag_implement_inlines,
621 flag_implicit_templates, flag_implicit_inline_templates,
622 flag_optional_diags, flag_elide_constructors, flag_default_inline,
623 flag_rtti, flag_conserve_space, flag_access_control,
624 flag_check_new, flag_new_for_scope, flag_weak,
625 flag_working_directory, flag_use_cxa_atexit,
626 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
627 flag_threadsafe_statics, flag_pretty_templates,
628 warn_strict_null_sentinel): Remove.
629 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
630 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
631 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
632 fimplicit-inline-templates, fimplicit-templates,
633 flax-vector-conversions, fms-extensions, fnil-receivers,
634 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
635 frtti, fshort-double, fshort-enums, fshort-wchar,
636 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
637 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
638 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
639 gen-decls, undef): Use Var.
640 (fdefault-inline, foptional-diags): Document as doing nothing.
641 * c-opts.c (c_common_handle_option): Remove cases for options now
642 using Var. Mark ignored options as such.
644 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
646 * c-common.c: Moved to here from parent directory.
647 * c-common.def: Likewise.
648 * c-common.h: Likewise.
649 * c-cppbuiltin.c: Likewise.
650 * c-dump.c: Likewise.
651 * c-format.c: Likewise.
652 * c-format.h : Likewise.
653 * c-gimplify.c: Likewise.
657 * c-opts.c: Likewise.
659 * c-ppoutput.c: Likewise.
660 * c-pragma.c: Likewise.
661 * c-pragma.h: Likewise.
662 * c-pretty-print.c: Likewise.
663 * c-pretty-print.h: Likewise.
664 * c-semantics.c: Likewise.
665 * stub-objc.c: Likewise.
667 * c-common.c: Include gt-c-family-c-common.h.
668 * c-pragma.c: Include gt-c-family-c-pragma.h.
670 Copyright (C) 2010 Free Software Foundation, Inc.
672 Copying and distribution of this file, with or without modification,
673 are permitted in any medium without royalty provided the copyright
674 notice and this notice are preserved.