1 2011-06-14 Joseph Myers <joseph@codesourcery.com>
3 * c-common.c: Include common/common-target.h.
4 (handle_section_attribute): Use
5 targetm_common.have_named_sections.
6 * c-cppbuiltin.c: Include common/common-target.h.
7 (c_cpp_builtins): Use targetm_common.except_unwind_info.
9 2011-06-10 Richard Guenther <rguenther@suse.de>
11 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
12 to print a IDENTIFIER_NODE.
14 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
15 Joseph Myers <joseph@codesourcery.com>
17 * c.opt (fbuilding-libgcc): New option.
18 * c-cppbuiltin.c (c_cpp_builtins): Define
19 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
21 2011-06-07 Jason Merrill <jason@redhat.com>
23 * c-common.c (max_tinst_depth): Lower default to 900.
25 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
27 2011-06-07 Richard Guenther <rguenther@suse.de>
29 * c-common.c (c_common_nodes_and_builtins): Do not set
30 size_type_node or call set_sizetype.
32 2011-06-07 Dodji Seketeli <dodji@redhat.com>
35 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
36 type when using pointer comparison to compare types.
38 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
40 * c.opt: Add -Wdelete-non-virtual-dtor.
41 * c-opts.c (c_common_handle_option): Include it in -Wall.
43 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
48 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
50 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
53 2011-05-27 Jakub Jelinek <jakub@redhat.com>
56 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
57 C++ don't call c_common_truthvalue_conversion on void type arms.
59 2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
61 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
62 (stmt_list_stack): Define.
63 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
64 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
66 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
68 * c-common.c (warning_candidate_p): Check for BLOCKs.
70 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
72 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
75 2011-05-25 Jakub Jelinek <jakub@redhat.com>
77 * c-common.c (def_fn_type): Remove extra va_end.
79 2011-05-23 Jason Merrill <jason@redhat.com>
82 * c-common.c (c_common_get_narrower): New.
83 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
85 2011-05-23 Nathan Froyd <froydnj@codesourcery.com>
87 * c-common.h (check_function_arguments): Tweak prototype of
88 check_function_arguments.
89 * c-common.c (check_function_arguments): Likewise. Adjust
90 calls to check_function_nonnull, check_function_format, and
91 check_function_sentinel.
92 (check_function_sentinel): Take a FUNCTION_TYPE rather than
93 separate attributes and typelist arguments. Use
94 FOREACH_FUNCTION_ARGS to iterate over argument types.
96 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
98 * c-common.c (c_common_reswords): Reorder.
99 * c-common.h (rid): Likewise.
101 2011-05-10 Nathan Froyd <froydnj@codesourcery.com>
103 * c-common.c (def_fn_type): Don't call build_function_type, call
104 build_function_type_array or build_varargs_function_type_array
106 (c_common_nodes_and_builtins): Likewise.
108 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
110 * c-common.c (c_add_case_label): Omit the loc argument to
112 * c-common.h (build_case_label): Remove.
113 * c-semantics.c (build_case_label): Remove.
115 2011-05-05 Joseph Myers <joseph@codesourcery.com>
117 * c-objc.h (objc_start_method_definition): Update prototype.
118 * stub-objc.c (objc_start_method_definition): Add extra parameter.
120 2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
122 * c-common.c (check_main_parameter_types): Reindent. Don't use
123 TYPE_ARG_TYPES directly.
124 (handle_nonnull_attribute): Likewise.
125 (sync_resolve_params): Likewise.
126 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
127 to check_format_string.
128 (handle_format_attribute): Likewise.
129 (check_format_string): Take a function type to examine instead of
130 a type list. Use a function_arg_iterator to step through argument
133 2011-05-04 Richard Guenther <rguenther@suse.de>
135 * c-common.c (fix_string_type): Use size_int for index type bounds.
136 (start_fname_decls): Do not pass NULL to build_int_cst.
137 (c_init_attributes): Likewise.
138 * c-lex.c (c_lex_with_flags): Likewise.
140 2011-04-27 Jason Merrill <jason@redhat.com>
142 * c-common.c (make_tree_vector_from_list): New.
143 * c-common.h: Declare it.
145 2011-04-26 Richard Guenther <rguenther@suse.de>
147 PR preprocessor/48248
148 * c-ppoutput.c (maybe_print_line): Always optimize newlines
149 for output size with -P.
151 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
153 * c-common.c (struct c_common_resword): Add __underlying_type.
154 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
156 2011-04-20 Jim Meyering <meyering@redhat.com>
158 * c-format.c (init_dollar_format_checking): Remove useless
161 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
163 * c-objc.h (objc_get_interface_ivars): Removed.
164 (objc_detect_field_duplicates): New.
165 * stub-objc.c: Likewise.
167 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
169 * stub-objc.c (objc_declare_protocols): Renamed to
170 objc_declare_protocol.
171 * c-objc.h: Likewise.
173 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
175 * stub-objc.c (objc_declare_class): Updated argument name.
177 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
179 * c-common.h (c_common_init_ts): Declare.
180 * c-common.c (c_common_init_ts): Define.
182 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
184 * c-objc.h (objc_build_message_expr): Updated prototype.
185 * stub-objc.c (objc_build_message_expr): Likewise.
187 2011-04-12 Martin Jambor <mjambor@suse.cz>
189 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
192 2011-04-11 Richard Guenther <rguenther@suse.de>
194 * c-common.c (complete_array_type): Build a range type of
197 2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
199 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
200 (handle_type_generic_attribute): Likewise.
202 2011-04-07 Jason Merrill <jason@redhat.com>
205 * c-common.c (c_common_truthvalue_conversion): Don't ignore
206 conversion from C++0x scoped enum.
208 2011-04-06 Joseph Myers <joseph@codesourcery.com>
210 * c-target-def.h: New file.
211 * c-target.def: New file.
212 * c-target.h: New file.
213 * c-common.c (targetcm): Don't define here.
214 * c-common.h (default_handle_c_option): Declare.
215 * c-format.c: Include c-target.h instead of target.h.
216 * c-opts.c: Include c-target.h instead of target.h. Explicitly
218 (default_handle_c_option): Move from targhooks.c.
220 2011-03-29 Jakub Jelinek <jakub@redhat.com>
222 PR preprocessor/48248
223 * c-ppoutput.c (print): Add src_file field.
224 (init_pp_output): Initialize it.
225 (maybe_print_line): Don't optimize by adding up to 8 newlines
226 if map->to_file and print.src_file are different file.
227 (print_line): Update print.src_file.
229 2011-03-25 Kai Tietz <ktietz@redhat.com>
231 * c-ada-spec.c (compare_comment): Use filename_cmp
232 instead of strcmp for filename.
234 2011-03-25 Jeff Law <law@redhat.com>
236 * c-family/c-common.c (def_fn_type): Add missing va_end.
238 2011-03-25 Jason Merrill <jason@redhat.com>
240 * c.opt: Add -std=c++03.
242 2011-03-22 Eric Botcazou <ebotcazou@adacore.com>
244 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
249 * c-pretty-print.c (pp_c_specifier_qualifier_list):
250 Display allowed attributes for function pointer types.
251 (pp_c_attributes_display): New function to display
252 attributes having affects_type_identity flag set to true.
253 * c-pretty-print.h (pp_c_attributes_display): New prototype.
255 * c-common.c (c_common_attribute_table):
257 (c_common_format_attribute_table): Likewise.
259 2011-03-18 Jason Merrill <jason@redhat.com>
261 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
262 * c-common.h: Don't declare it here.
263 * c-common.c: Or define it here.
264 * c-opts.c (c_common_handle_option): Or set it here.
267 * c-common.c (handle_transparent_union_attribute): Don't
268 make a duplicate type in C++.
270 2011-03-15 Jason Merrill <jason@redhat.com>
272 * c-common.c (max_constexpr_depth): New.
273 * c-common.h: Declare it.
274 * c-opts.c (c_common_handle_option): Set it.
275 * c.opt (fconstexpr-depth): New option.
277 2011-03-11 Jason Merrill <jason@redhat.com>
279 * c-common.c (attribute_takes_identifier_p): Add missing const.
282 * c-common.c (attribute_takes_identifier_p): Assume that an
283 unknown attribute takes an identifier.
285 2011-03-07 Nathan Froyd <froydnj@codesourcery.com>
288 * c-common.c (c_type_hash): Call list_length instead of iterating
289 through DECL_CHAIN. Rename 'i' to 'n_elements'.
291 2011-02-19 Jakub Jelinek <jakub@redhat.com>
294 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
296 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
298 * c.opt (fobjc-abi-version=) New.
299 (fobjc-nilcheck): New.
301 2011-02-03 Nathan Froyd <froydnj@codesourcery.com>
304 * c-common.h (keyword_is_decl_specifier): Declare.
305 * c-common.c (keyword_is_decl_specifier): Define.
306 (keyword_is_function_specifier): New function.
308 2011-01-26 Jakub Jelinek <jakub@redhat.com>
311 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
312 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
315 2011-01-26 Arnaud Charlet <charlet@adacore.com>
317 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
319 2011-01-26 Jakub Jelinek <jakub@redhat.com>
322 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
323 after init_c_lex if pch_file is set.
325 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
328 * c.opt (-fkeep-inline-dllexport): New switch.
330 2011-01-12 Richard Guenther <rguenther@suse.de>
333 * c-common.c (handle_weak_attribute): Warn instead of error
334 on declaring an inline function weak.
336 2011-01-05 Tom Tromey <tromey@redhat.com>
338 * c-common.h (lvalue_error): Update.
339 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
342 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
345 * c-objc.h (objc_finish_message_expr): Added argument to
348 2010-12-22 Nathan Froyd <froydnj@codesourcery.com>
350 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
353 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
355 * c-objc.h (objc_maybe_warn_exceptions): New.
356 * stub-objc.c (objc_maybe_warn_exceptions): New.
358 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
360 * c-common.h (readonly_error): Declare.
361 * c-common.c (readonly_error): Define.
363 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
365 * c-common.h (invalid_indirection_error): Declare.
366 * c-common.c (invalid_indirection_error): Define.
368 2010-12-03 Richard Guenther <rguenther@suse.de>
371 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
372 (pp_c_unary_expression): Likewise.
373 (pp_c_expression): Likewise.
375 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
377 * c-common.h (objc_finish_function): New.
378 (objc_non_volatilized_type): Removed.
379 (objc_type_quals_match): Removed.
380 * stub-objc.c (objc_finish_function): New.
381 (objc_non_volatilized_type): Removed.
382 (objc_type_quals_match): Removed.
384 2010-11-30 Joseph Myers <joseph@codesourcery.com>
386 * c-common.h (parse_optimize_options): Declare.
387 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
388 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
390 2010-11-29 Joseph Myers <joseph@codesourcery.com>
392 * c-opts.c (check_deps_environment_vars): Use getenv instead of
394 * c-pch.c (O_BINARY): Don't define here.
395 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
397 2010-11-25 Joseph Myers <joseph@codesourcery.com>
399 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
400 targetm.except_unwind_info.
402 2010-11-23 Joseph Myers <joseph@codesourcery.com>
404 * c-opts.c (c_common_handle_option): Pass location to
405 set_struct_debug_option.
407 2010-11-23 Joseph Myers <joseph@codesourcery.com>
409 * c-common.c (visibility_options): Move from ../opts.c.
410 * c-common.h (struct visibility_flags, visibility_options):
412 * c-opts.c (finish_options): Rename to c_finish_options.
413 (c_common_init): Update call to finish_options.
415 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
418 * c-lex.c (lex_string): Check that each string in an Objective-C
419 string concat sequence starts with either one or zero '@', and
420 that there are no spurious '@' signs at the end.
422 2010-11-20 Joseph Myers <joseph@codesourcery.com>
424 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
425 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
426 HANDLE_PRAGMA_VISIBILITY.
427 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
428 HANDLE_PRAGMA_VISIBILITY): Don't define.
429 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
431 2010-11-20 Nathan Froyd <froydnj@codesourcery.com>
436 * c-common.h (keyword_begins_type_specifier): Declare.
437 (keyword_is_storage_class_specifier): Declare.
438 (keyword_is_type_qualifier): Declare.
439 * c-common.c (keyword_begins_type_specifier): New function.
440 (keyword_is_storage_class_specifier): New function.
441 (keyword_is_type_qualifier): Declare.
443 2010-11-19 Joseph Myers <joseph@codesourcery.com>
446 * c-common.c (in_late_binary_op): Define.
447 (c_common_truthvalue_conversion): Check in_late_binary_op before
449 * c-common.h (in_late_binary_op): Declare.
451 2010-11-19 Joseph Myers <joseph@codesourcery.com>
453 * c-opts.c (c_common_handle_option): Update calls to
454 set_struct_debug_option.
456 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
458 * c-common.h (objc_declare_protocols): Added additional argument.
459 * stub-objc.c (objc_declare_protocol): Same change.
461 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
464 * c-common.h (build_real_imag_expr): Declare.
465 * c-semantics.c (build_real_imag_expr): Define.
467 2010-11-17 Joseph Myers <joseph@codesourcery.com>
469 * c-opts.c (c_common_parse_file): Take no arguments.
470 * c-common.h (c_common_parse_file): Update prototype.
472 2010-11-16 Jakub Jelinek <jakub@redhat.com>
475 * c-common.c (warning_candidate_p): Don't track non-const calls
478 2010-11-15 Ian Lance Taylor <iant@google.com>
480 * c-lex.c (init_c_lex): Set macro debug callbacks if
481 flag_dump_go_spec is set.
483 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
485 * c-common.h (objc_build_incr_expr_for_property_ref): New.
486 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
488 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
490 PR preprocessor/45038
491 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
494 2010-11-12 Joseph Myers <joseph@codesourcery.com>
496 * c-common.h (c_family_lang_mask): Declare.
497 * c-opts.c (c_family_lang_mask): Make extern.
498 * c-pragma.c (handle_pragma_diagnostic): Use
499 control_warning_option.
501 2010-11-12 Joseph Myers <joseph@codesourcery.com>
503 * c-common.c (parse_optimize_options): Update call to
505 * c-common.h (c_common_handle_option): Update prototype.
506 * c-opts.c (c_common_handle_option): Take location_t parameter and
507 pass it to other functions.
509 2010-11-11 Joseph Myers <joseph@codesourcery.com>
511 * c-opts.c (warning_as_error_callback): Remove.
512 (c_common_initialize_diagnostics): Don't call
513 register_warning_as_error_callback.
514 (c_common_handle_option): Handle -Werror=normalized= here.
516 2010-11-10 Joseph Myers <joseph@codesourcery.com>
518 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
520 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
522 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
523 Remove trailing '.' from diagnostics.
524 * c.opt (Wwrite-strings_: Avoid '`' in help text.
526 2010-11-10 Joseph Myers <joseph@codesourcery.com>
528 * c-common.c (parse_optimize_options): Pass global_dc to
530 * c-opts.c (c_common_handle_option): Pass &global_options to
531 set_Wstrict_aliasing.
532 * c.opt (v): Don't mark Common or document here.
534 2010-11-06 Iain Sandoe <iains@gcc.gnu.org>
537 * c-format.c (format_type): New type gcc_objc_string_format_type.
538 (valid_stringptr_type_p): New.
539 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
540 (check_format_string): Pass expected type, use
541 valid_stringptr_type_p (), check that the format string types are
542 consistent with the format specification.
543 (decode_format_attr): Warn if NSString is used outside objective-c.
544 (format_types_orig): Add NSString.
547 (check_format_arg): Handle format strings requiring an external parser.
548 first_target_format_type: New variable.
549 (handle_format_attribute): Set up first_target_format_type, pass the
550 expected format arg string type to check_format_string().
551 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
552 * stub-objc.c (objc_string_ref_type_p): New.
553 (objc_check_format_arg): New.
555 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
557 Fixed using the Objective-C 2.0 dot-syntax with class names.
558 * c-common.h (objc_build_class_component_ref): New.
559 * stub-objc.c (objc_build_class_component_ref): New.
561 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
563 * c.opt (Wproperty-assign-default): New option.
565 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
567 Implemented -fobjc-std=objc1 flag.
568 * c.opt (fobjc-std=objc1): New option.
570 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
572 Implemented format and noreturn attributes for Objective-C methods.
573 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
574 attribute for Objective-C methods.
576 2010-10-31 Jason Merrill <jason@redhat.com>
578 * c-common.c (conversion_warning, warn_for_collisions_1): Use
581 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
583 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
584 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
585 (objc_add_property_declaration): Removed arguments for copies and
587 (objc_build_getter_call): Renamed to
588 objc_maybe_build_component_ref.
589 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
590 (objc_is_property_ref): New.
591 * c-common.c (c_common_reswords): Removed copies and ivar.
592 * stub-objc.c (objc_add_property_declaration): Removed arguments
594 (objc_build_getter_call): Renamed to
595 objc_maybe_build_component_ref.
596 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
597 (objc_is_property_ref): New.
599 2010-10-29 Arnaud Charlet <charlet@adacore.com>
600 Matthew Gingell <gingell@adacore.com>
602 * c-ada-spec.c (separate_class_package): New function.
603 (pp_ada_tree_identifier): Prefix references to C++ classes with the
604 name of their enclosing package.
605 (print_ada_declaration): Use separate_class_package.
607 2010-10-27 Jason Merrill <jason@redhat.com>
609 * c-common.c (c_common_reswords): Add __is_literal_type.
610 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
612 * c-common.c (check_case_value): Remove special C++ code.
614 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
616 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
617 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
619 (objc_add_property_declaration): Added additional arguments.
620 (objc_property_attribute_kind): Removed.
621 (objc_set_property_attr): Removed.
622 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
624 * stub-objc.c (objc_add_property_declaration): Added additional
626 (objc_set_property_attr): Removed.
628 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
630 * c-common.h (objc_add_property_variable): Renamed to
631 objc_add_property_declaration. Added location argument.
632 * stub-objc.c (objc_add_property_variable): Same change.
634 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
636 * c-common.h (objc_maybe_printable_name): New.
637 * stub-objc.c (objc_maybe_printable_name): New.
639 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
640 Andrew Pinski <pinskia@gmail.com>
642 * c-common.h (c_common_mark_addressable_vec): Declare.
643 * c-common.c (c_common_mark_addressable_vec): New function.
645 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
647 * c-common.h (objc_set_method_type): Removed.
648 (objc_add_method_declaration): Added boolean argument.
649 (objc_start_method_definition): Same change.
650 (objc_build_method_signature): Same change.
651 * stub-objc.c (objc_set_method_type): Removed.
652 (objc_add_method_declaration): Added boolean argument.
653 (objc_start_method_definition): Same change.
654 (objc_build_method_signature): Same change.
656 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
658 * c-common.h (finish_file): Removed.
659 (objc_write_global_declarations): New.
660 * c-opts.c (c_common_parse_file): Do not call finish_file.
661 * stub-objc.c (objc_write_global_declarations): New.
663 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
665 Implemented parsing @synthesize and @dynamic for
666 Objective-C/Objective-C++.
667 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
668 (objc_add_synthesize_declaration): New.
669 (objc_add_dynamic_declaration): New.
670 * c-common.c (c_common_reswords): Add synthesize and dynamic.
671 * stub-objc.c (objc_add_synthesize_declaration): New.
672 (objc_add_dynamic_declaration): New.
674 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
677 * c-cppbuiltin.c (mode_has_fma): Move function here from
678 builtins.c. Don't use the fma optab, instead just use the
679 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
682 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
684 Merge from 'apple/trunk' branch on FSF servers.
686 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
689 * c-common.h (objc_non_volatilized_type): New declaration
690 * stub-objc.c (objc_non_volatilized_type): New stub.
692 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
694 Merge from 'apple/trunk' branch on FSF servers.
696 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
699 * c-common.h (objc_diagnose_private_ivar): New decl.
700 * stub-objc.c (objc_diagnose_private_ivar): New stub.
702 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
704 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
705 * c-common.h (enum rid): Add RID_AT_PACKAGE.
706 (objc_ivar_visibility_kind): New enum.
707 (objc_set_visibility): Adjust prototype to use visibility enum.
708 * stub-objc.c (objc_set_visibility): Adjust stub to use
711 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
713 * c-cppbuiltin.c (builtin_define_float_constants): Emit
714 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
715 has the appropriate fma builtins.
716 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
718 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
720 merge from FSF apple 'trunk' branch.
721 2006 Fariborz Jahanian <fjahanian@apple.com>
723 Radars 4436866, 4505126, 4506903, 4517826
724 * c-common.c (c_common_resword): Define @property and its attributes.
725 * c-common.h: Define property attribute enum entries.
726 (OBJC_IS_PATTR_KEYWORD): New.
727 (objc_property_attribute_kind): New enum.
728 Declare objc_set_property_attr (), objc_add_property_variable (),
729 objc_build_getter_call () and objc_build_setter_call ().
730 * stub-objc.c (objc_set_property_attr): New stub.
731 (objc_add_property_variable): Likewise.
732 (objc_build_getter_call): Likewise.
733 (objc_build_setter_call) Likewise.
735 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
737 merge from FSF apple 'trunk' branch.
738 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
740 Radar 3803157 (method attributes)
741 * c-common.c (handle_deprecated_attribute): Recognize
742 objc methods as valid declarations.
743 * c-common.h: Declare objc_method_decl ().
744 * stub-objc.c (objc_method_decl): New stub.
746 2010-10-08 Joseph Myers <joseph@codesourcery.com>
748 * c-common.c (parse_optimize_options): Call
749 decode_cmdline_options_to_array_default_mask before
750 decode_options. Update arguments to decode_options.
751 * c-common.h (c_common_init_options_struct): Declare.
752 * c-opts.c (c_common_init_options_struct): New. Split out from
753 c_common_init_options.
755 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
757 Implemented fast enumeration for Objective-C.
758 * c-common.h (objc_finish_foreach_loop): New.
759 * stub-objc.c (objc_finish_foreach_loop): New.
761 2010-10-05 Joseph Myers <joseph@codesourcery.com>
763 * c-common.h (struct diagnostic_context): Don't declare here.
764 (c_common_initialize_diagnostics): Declare using
765 diagnostic_context typedef.
766 * c-opts.c (c_common_handle_option): Pass global_dc to
767 handle_generated_option.
769 2010-10-04 Joseph Myers <joseph@codesourcery.com>
771 * c-opts.c (c_common_handle_option): Pass &global_options_set to
772 handle_generated_option.
774 2010-10-03 Ian Lance Taylor <iant@google.com>
776 * c.opt (-fplan9-extensions): New option.
778 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
780 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
782 (c_cpp_builtins): Call functions from cppbuiltin.c instead
785 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
787 * c-common.c: Add two new entries for @optional
788 and @required keywords.
790 merge from FSF 'apple/trunk' branch.
791 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
794 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
795 objective-c keywords.
796 (objc_set_method_opt): New declaration.
797 * stub-objc.c (objc_set_method_opt): New stub.
799 2010-09-30 Joseph Myers <joseph@codesourcery.com>
801 * c-common.c (handle_optimize_attribute): Pass &global_options to
802 cl_optimization_save and cl_optimization_restore.
803 * c-opts.c (c_common_handle_option): Pass &global_options to
804 handle_generated_option.
805 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
806 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
807 &global_options to cl_optimization_restore.
809 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
811 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
812 Objective-C/Objective-C++ keywords.
814 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
816 Merge from 'apple/trunk' branch on FSF servers.
818 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
821 * c-common.h (objc_check_global_decl): New declaration.
822 * stub-objc.c (objc_check_global_decl): New stub.
824 2010-09-29 Joseph Myers <joseph@codesourcery.com>
826 * c.opt: Don't use VarExists.
828 2010-09-29 Joseph Myers <joseph@codesourcery.com>
830 * c-common.c (c_cpp_error): Update names of diagnostic_context
832 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
833 cl_optimization members.
834 * c-opts.c (warning_as_error_callback, c_common_handle_option,
835 sanitize_cpp_opts, finish_options): Update names of cpp_options
838 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
840 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
841 (objc_is_reserved_word): Removed.
842 * c-common.c: Updated comments.
843 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
844 objc_is_reserved_word.
845 * stub-objc.c (objc_is_reserved_word): Removed.
847 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
849 * c-common.h (objc_add_method_declaration): Adjust prototype to
851 (objc_start_method_definition): Likewise.
852 (objc_build_keyword_decl): Likewise.
853 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
854 (objc_start_method_definition): Likewise.
855 (objc_build_keyword_decl): Likewise.
857 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
859 * c-common.h (objc_start_class_interface): Adjust prototype.
860 (objc_start_category_interface): Likewise.
861 (objc_start_protocol): Likewise.
862 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
863 (objc_start_class_interface): Likewise.
864 (objc_start_category_interface): Likewise.
866 2010-09-27 Ian Lance Taylor <iant@google.com>
868 * c-common.c (c_common_attribute_table): Add no_split_stack.
869 (handle_no_split_stack_attribute): New static function.
871 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
873 Merge from 'apple/trunk' branch on FSF servers.
875 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
878 * c-common.h (objc_have_common_type): New declaration.
879 * stub-objc.c (objc_have_common_type): New stub.
881 2005-06-22 Ziemowit Laski <zlaski@apple.com>
884 * c-common.h (objc_common_type): New prototype.
885 * stub-objc.c (objc_common_type): New stub.
887 2010-09-24 Jan Hubicka <jh@suse.cz>
889 * c-common.c (handle_leaf_attribute): New function.
890 (struct attribute_spec c_common_att): Add leaf.
892 2010-09-22 Joseph Myers <joseph@codesourcery.com>
894 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
895 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
896 -dump, -dump=, -imacros, -imacros=, -include, -include=,
897 -include-barrier, -include-directory, -include-directory=,
898 -include-directory-after, -include-directory-after=,
899 -include-prefix, -include-prefix=, -include-with-prefix,
900 -include-with-prefix=, -include-with-prefix-after,
901 -include-with-prefix-after=, -include-with-prefix-before,
902 -include-with-prefix-before=, -no-integrated-cpp,
903 -no-line-commands, -no-standard-includes, -no-warnings, -output,
904 -output=, -pedantic, -pedantic-errors, -preprocess,
905 -print-missing-file-dependencies, -trace-includes, -traditional,
906 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
907 -user-dependencies, -verbose, -write-dependencies,
908 -write-user-dependencies, no-integrated-cpp, traditional): New.
910 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
913 * c-common.h (objc_start_method_definition): Return bool instead
915 * stub-objc.c (objc_start_method_definition): Return bool instead
918 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
921 * c-common.h (objc_get_interface_ivars): New declaration.
922 * stub-objc.c (objc_get_interface_ivars): New stub.
924 2010-09-15 Ian Lance Taylor <iant@google.com>
926 * c-common.c (parse_optimize_options): Do not capitalize warning
927 messages. Remove period at end of warning message.
929 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
931 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
932 (handle_alias_attribute): ... here.
933 (handle_ifunc_attribute): New.
935 2010-09-06 Mark Mitchell <mark@codesourcery.com>
937 * c-common.h (do_warn_double_promotion): Declare.
938 * c-common.c (do_warn_double_promotion): Define.
940 2010-09-05 Mark Mitchell <mark@codesourcery.com>
942 * c.opt (Wdouble-promotion): New.
944 2010-09-02 Joseph Myers <joseph@codesourcery.com>
946 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
947 fvtable-thunks, fxref): Mark no longer supported in help text.
949 2010-09-02 Joseph Myers <joseph@codesourcery.com>
951 * c.opt (Wimport, fall-virtual, falt-external-templates,
952 fdefault-inline, fenum-int-equiv, fexternal-templates,
953 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
954 fname-mangling-version-, fnew-abi, fnonnull-objects,
955 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
956 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
958 (fhandle-exceptions): Mark with Alias and Warn.
959 * c-opts.c (c_common_handle_option): Don't handle options marked
962 2010-09-02 Joseph Myers <joseph@codesourcery.com>
964 * c.opt (Wcomments, Werror-implicit-function-declaration,
965 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
966 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
968 * c-common.c (option_codes): Use OPT_Wcomment instead of
970 * c-opts.c (warning_as_error_callback, c_common_handle_option):
971 Don't handle options marked as aliases.
973 2010-08-25 Richard Guenther <rguenther@suse.de>
975 * c-common.c (c_common_get_alias_set): Remove special
976 handling for pointers.
978 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
980 * c-common.c: Use FOR_EACH_VEC_ELT.
981 * c-gimplify.c: Likewise.
982 * c-pragma.c: Likewise.
984 2010-08-16 Joseph Myers <joseph@codesourcery.com>
986 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
988 (MMDX): Change back to MMD. Mark NoDriverArg instead of
990 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
991 instead of OPT_MDX and OPT_MMDX.
993 2010-08-16 Joseph Myers <joseph@codesourcery.com>
995 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
997 2010-08-12 Joseph Myers <joseph@codesourcery.com>
999 * c.opt (MD, MMD): Change to MDX and MMDX.
1000 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1002 2010-08-11 Joseph Myers <joseph@codesourcery.com>
1004 * c-opts.c (c_common_handle_option): Call handle_generated_option
1005 instead of handle_option.
1007 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1009 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1010 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1012 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1014 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1015 (pending_redefine_extname): Change type to a VEC.
1016 (add_to_renaming_pragma_list): Update for new type of
1017 pending_redefine_extname.
1018 (maybe_apply_renaming_pragma): Likewise.
1020 2010-08-04 Arnaud Charlet <charlet@adacore.com>
1022 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1024 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1025 decide whether a type has already been declared/seen.
1026 Do not go to the original type.
1027 (dump_nested_types): New parameter forward.
1028 Generate forward declaration if needed and mark type as visited.
1029 (print_ada_declaration): Call dump_nested_types if not already done.
1030 Mark types as visited.
1032 2010-08-03 Joseph Myers <joseph@codesourcery.com>
1034 * c.opt (-print-pch-checksum): Remove option.
1035 * c-opts.c (c_common_handle_option): Don't handle
1036 OPT_print_pch_checksum.
1038 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1040 * c-common.h (c_common_handle_option): Update prototype and return
1042 * c-opts.c (c_common_handle_option): Update prototype and return
1043 value type. Update calls to handle_option and
1044 enable_warning_as_error.
1046 2010-07-27 Jakub Jelinek <jakub@redhat.com>
1049 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1051 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1053 * c-common.h (c_common_missing_argument): Remove.
1054 * c-opts.c (c_common_missing_argument): Remove.
1055 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1056 idirafter, imacros, include, isysroot, isystem, iquote): Add
1058 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1060 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1062 * c-common.h (c_common_option_lang_mask,
1063 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1065 (c_common_init_options): Update prototype.
1066 * c-opts.c (c_common_option_lang_mask): New.
1067 (c_common_initialize_diagnostics): Split out of
1068 c_common_init_options.
1069 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1071 (c_common_init_options): Update prototype. Use decoded options in
1072 search for -lang-asm.
1074 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1076 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1077 * c-format.c: Likewise.
1079 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1081 * c-common.h: Include diagnostic-core.h. Error if already
1083 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1085 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1087 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1088 Do not include expr.h
1089 (vector_mode_valid_p): Move here.
1091 2010-06-21 DJ Delorie <dj@redhat.com>
1093 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1094 allow these pragmas anywhere.
1096 2010-06-14 Jakub Jelinek <jakub@redhat.com>
1099 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1100 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1101 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1102 ggc_strdup instead of xstrdup.
1104 2010-06-10 Jakub Jelinek <jakub@redhat.com>
1106 * c-cppbuiltin.c: Include cpp-id-data.h.
1107 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1108 (lazy_hex_fp_value): New function.
1109 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1111 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1113 * c-gimplify.c: Do not include tree-flow.h
1115 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1118 * c-common.c: Rename targetm member:
1119 targetm.enum_va_list -> targetm.enum_va_list_p
1121 2010-06-28 Anatoly Sokolov <aesok@post.ru>
1123 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1125 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1127 * c-cppbuiltin.c: Do not include except.h.
1129 2010-06-24 Andi Kleen <ak@linux.intel.com>
1131 * c-common.c (warn_for_omitted_condop): New.
1132 * c-common.h (warn_for_omitted_condop): Add prototype.
1134 2010-06-21 Joseph Myers <joseph@codesourcery.com>
1136 * c.opt (lang-objc): Remove.
1137 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1139 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1141 * c-opts.c: Include "tm_p.h".
1143 2010-06-20 Joseph Myers <joseph@codesourcery.com>
1145 * c-common.c (parse_optimize_options): Update call to
1148 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1150 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1151 new type of types_used_by_cur_var_decl.
1153 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1156 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1157 for C++ standard compliance.
1159 2010-06-16 Jason Merrill <jason@redhat.com>
1161 * c.opt: Add -Wnoexcept.
1163 2010-06-16 Richard Guenther <rguenther@suse.de>
1166 * c-common.c (c_common_truthvalue_conversion): Remove
1167 premature and wrong optimization concering ADDR_EXPRs.
1169 2010-06-15 Arnaud Charlet <charlet@adacore.com>
1171 * c-ada-spec.c (dump_sloc): Remove column info.
1172 (is_simple_enum): New function.
1173 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1174 enum types when relevant.
1176 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1178 * c-common.c (conversion_warning): Warn at expression
1181 2010-06-10 Joseph Myers <joseph@codesourcery.com>
1183 * c-opts.c (c_common_handle_option): Don't handle
1186 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1188 * c-pragma.c (push_alignment): Use typed GC allocation.
1189 (handle_pragma_push_options): Likewise.
1191 * c-common.c (parse_optimize_options): Likewise.
1193 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1196 2010-06-07 Joseph Myers <joseph@codesourcery.com>
1198 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1199 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1200 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1201 flag_signed_bitfields, warn_strict_null_sentinel,
1202 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1203 flag_gen_declaration, flag_no_gnu_keywords,
1204 flag_implement_inlines, flag_implicit_templates,
1205 flag_implicit_inline_templates, flag_optional_diags,
1206 flag_elide_constructors, flag_default_inline, flag_rtti,
1207 flag_conserve_space, flag_access_control, flag_check_new,
1208 flag_new_for_scope, flag_weak, flag_working_directory,
1209 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1210 flag_enforce_eh_specs, flag_threadsafe_statics,
1211 flag_pretty_templates): Remove.
1212 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1213 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1214 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1215 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1216 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1217 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1218 flag_no_gnu_keywords, flag_implement_inlines,
1219 flag_implicit_templates, flag_implicit_inline_templates,
1220 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1221 flag_rtti, flag_conserve_space, flag_access_control,
1222 flag_check_new, flag_new_for_scope, flag_weak,
1223 flag_working_directory, flag_use_cxa_atexit,
1224 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1225 flag_threadsafe_statics, flag_pretty_templates,
1226 warn_strict_null_sentinel): Remove.
1227 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1228 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1229 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1230 fimplicit-inline-templates, fimplicit-templates,
1231 flax-vector-conversions, fms-extensions, fnil-receivers,
1232 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1233 frtti, fshort-double, fshort-enums, fshort-wchar,
1234 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1235 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1236 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1237 gen-decls, undef): Use Var.
1238 (fdefault-inline, foptional-diags): Document as doing nothing.
1239 * c-opts.c (c_common_handle_option): Remove cases for options now
1240 using Var. Mark ignored options as such.
1242 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1244 * c-common.c: Moved to here from parent directory.
1245 * c-common.def: Likewise.
1246 * c-common.h: Likewise.
1247 * c-cppbuiltin.c: Likewise.
1248 * c-dump.c: Likewise.
1249 * c-format.c: Likewise.
1250 * c-format.h : Likewise.
1251 * c-gimplify.c: Likewise.
1252 * c-lex.c: Likewise.
1253 * c-omp.c: Likewise.
1255 * c-opts.c: Likewise.
1256 * c-pch.c: Likewise.
1257 * c-ppoutput.c: Likewise.
1258 * c-pragma.c: Likewise.
1259 * c-pragma.h: Likewise.
1260 * c-pretty-print.c: Likewise.
1261 * c-pretty-print.h: Likewise.
1262 * c-semantics.c: Likewise.
1263 * stub-objc.c: Likewise.
1265 * c-common.c: Include gt-c-family-c-common.h.
1266 * c-pragma.c: Include gt-c-family-c-pragma.h.
1268 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1270 Copying and distribution of this file, with or without modification,
1271 are permitted in any medium without royalty provided the copyright
1272 notice and this notice are preserved.