1 2011-07-05 Richard Guenther <rguenther@suse.de>
3 * c-common.c (c_common_nodes_and_builtins): Build all common
6 2011-06-27 Jakub Jelinek <jakub@redhat.com>
8 * c-common.h (c_tree_chain_next): New static inline function.
10 * c-common.c (check_builtin_function_arguments): Handle
11 BUILT_IN_ASSUME_ALIGNED.
13 2011-06-21 Andrew MacLeod <amacleod@redhat.com>
15 * c-common.c: Add sync_ or SYNC__ to builtin names.
16 * c-omp.c: Add sync_ or SYNC__ to builtin names.
18 2011-06-20 Pierre Vittet <piervit@pvittet.com>
20 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
22 (gen_pragma_handler): New union.
23 (internal_pragma_handler): New type.
24 (c_register_pragma_with_data)
25 (c_register_pragma_with_expansion_and_data): New functions.
27 * c-pragma.c (registered_pragmas, c_register_pragma_1)
28 (c_register_pragma, c_register_pragma_with_expansion)
29 (c_invoke_pragma_handler): Changed to work with
30 internal_pragma_handler.
31 (c_register_pragma_with_data)
32 (c_register_pragma_with_expansion_and_data): New functions.
34 2011-06-14 Joseph Myers <joseph@codesourcery.com>
36 * c-common.c: Include common/common-target.h.
37 (handle_section_attribute): Use
38 targetm_common.have_named_sections.
39 * c-cppbuiltin.c: Include common/common-target.h.
40 (c_cpp_builtins): Use targetm_common.except_unwind_info.
42 2011-06-10 Richard Guenther <rguenther@suse.de>
44 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
45 to print a IDENTIFIER_NODE.
47 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
48 Joseph Myers <joseph@codesourcery.com>
50 * c.opt (fbuilding-libgcc): New option.
51 * c-cppbuiltin.c (c_cpp_builtins): Define
52 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
54 2011-06-07 Jason Merrill <jason@redhat.com>
56 * c-common.c (max_tinst_depth): Lower default to 900.
58 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
60 2011-06-07 Richard Guenther <rguenther@suse.de>
62 * c-common.c (c_common_nodes_and_builtins): Do not set
63 size_type_node or call set_sizetype.
65 2011-06-07 Dodji Seketeli <dodji@redhat.com>
68 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
69 type when using pointer comparison to compare types.
71 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
73 * c.opt: Add -Wdelete-non-virtual-dtor.
74 * c-opts.c (c_common_handle_option): Include it in -Wall.
76 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
81 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
83 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
86 2011-05-27 Jakub Jelinek <jakub@redhat.com>
89 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
90 C++ don't call c_common_truthvalue_conversion on void type arms.
92 2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
94 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
95 (stmt_list_stack): Define.
96 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
97 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
99 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
101 * c-common.c (warning_candidate_p): Check for BLOCKs.
103 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
105 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
108 2011-05-25 Jakub Jelinek <jakub@redhat.com>
110 * c-common.c (def_fn_type): Remove extra va_end.
112 2011-05-23 Jason Merrill <jason@redhat.com>
115 * c-common.c (c_common_get_narrower): New.
116 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
118 2011-05-23 Nathan Froyd <froydnj@codesourcery.com>
120 * c-common.h (check_function_arguments): Tweak prototype of
121 check_function_arguments.
122 * c-common.c (check_function_arguments): Likewise. Adjust
123 calls to check_function_nonnull, check_function_format, and
124 check_function_sentinel.
125 (check_function_sentinel): Take a FUNCTION_TYPE rather than
126 separate attributes and typelist arguments. Use
127 FOREACH_FUNCTION_ARGS to iterate over argument types.
129 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
131 * c-common.c (c_common_reswords): Reorder.
132 * c-common.h (rid): Likewise.
134 2011-05-10 Nathan Froyd <froydnj@codesourcery.com>
136 * c-common.c (def_fn_type): Don't call build_function_type, call
137 build_function_type_array or build_varargs_function_type_array
139 (c_common_nodes_and_builtins): Likewise.
141 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
143 * c-common.c (c_add_case_label): Omit the loc argument to
145 * c-common.h (build_case_label): Remove.
146 * c-semantics.c (build_case_label): Remove.
148 2011-05-05 Joseph Myers <joseph@codesourcery.com>
150 * c-objc.h (objc_start_method_definition): Update prototype.
151 * stub-objc.c (objc_start_method_definition): Add extra parameter.
153 2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
155 * c-common.c (check_main_parameter_types): Reindent. Don't use
156 TYPE_ARG_TYPES directly.
157 (handle_nonnull_attribute): Likewise.
158 (sync_resolve_params): Likewise.
159 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
160 to check_format_string.
161 (handle_format_attribute): Likewise.
162 (check_format_string): Take a function type to examine instead of
163 a type list. Use a function_arg_iterator to step through argument
166 2011-05-04 Richard Guenther <rguenther@suse.de>
168 * c-common.c (fix_string_type): Use size_int for index type bounds.
169 (start_fname_decls): Do not pass NULL to build_int_cst.
170 (c_init_attributes): Likewise.
171 * c-lex.c (c_lex_with_flags): Likewise.
173 2011-04-27 Jason Merrill <jason@redhat.com>
175 * c-common.c (make_tree_vector_from_list): New.
176 * c-common.h: Declare it.
178 2011-04-26 Richard Guenther <rguenther@suse.de>
180 PR preprocessor/48248
181 * c-ppoutput.c (maybe_print_line): Always optimize newlines
182 for output size with -P.
184 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
186 * c-common.c (struct c_common_resword): Add __underlying_type.
187 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
189 2011-04-20 Jim Meyering <meyering@redhat.com>
191 * c-format.c (init_dollar_format_checking): Remove useless
194 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
196 * c-objc.h (objc_get_interface_ivars): Removed.
197 (objc_detect_field_duplicates): New.
198 * stub-objc.c: Likewise.
200 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
202 * stub-objc.c (objc_declare_protocols): Renamed to
203 objc_declare_protocol.
204 * c-objc.h: Likewise.
206 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
208 * stub-objc.c (objc_declare_class): Updated argument name.
210 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
212 * c-common.h (c_common_init_ts): Declare.
213 * c-common.c (c_common_init_ts): Define.
215 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
217 * c-objc.h (objc_build_message_expr): Updated prototype.
218 * stub-objc.c (objc_build_message_expr): Likewise.
220 2011-04-12 Martin Jambor <mjambor@suse.cz>
222 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
225 2011-04-11 Richard Guenther <rguenther@suse.de>
227 * c-common.c (complete_array_type): Build a range type of
230 2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
232 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
233 (handle_type_generic_attribute): Likewise.
235 2011-04-07 Jason Merrill <jason@redhat.com>
238 * c-common.c (c_common_truthvalue_conversion): Don't ignore
239 conversion from C++0x scoped enum.
241 2011-04-06 Joseph Myers <joseph@codesourcery.com>
243 * c-target-def.h: New file.
244 * c-target.def: New file.
245 * c-target.h: New file.
246 * c-common.c (targetcm): Don't define here.
247 * c-common.h (default_handle_c_option): Declare.
248 * c-format.c: Include c-target.h instead of target.h.
249 * c-opts.c: Include c-target.h instead of target.h. Explicitly
251 (default_handle_c_option): Move from targhooks.c.
253 2011-03-29 Jakub Jelinek <jakub@redhat.com>
255 PR preprocessor/48248
256 * c-ppoutput.c (print): Add src_file field.
257 (init_pp_output): Initialize it.
258 (maybe_print_line): Don't optimize by adding up to 8 newlines
259 if map->to_file and print.src_file are different file.
260 (print_line): Update print.src_file.
262 2011-03-25 Kai Tietz <ktietz@redhat.com>
264 * c-ada-spec.c (compare_comment): Use filename_cmp
265 instead of strcmp for filename.
267 2011-03-25 Jeff Law <law@redhat.com>
269 * c-family/c-common.c (def_fn_type): Add missing va_end.
271 2011-03-25 Jason Merrill <jason@redhat.com>
273 * c.opt: Add -std=c++03.
275 2011-03-22 Eric Botcazou <ebotcazou@adacore.com>
277 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
282 * c-pretty-print.c (pp_c_specifier_qualifier_list):
283 Display allowed attributes for function pointer types.
284 (pp_c_attributes_display): New function to display
285 attributes having affects_type_identity flag set to true.
286 * c-pretty-print.h (pp_c_attributes_display): New prototype.
288 * c-common.c (c_common_attribute_table):
290 (c_common_format_attribute_table): Likewise.
292 2011-03-18 Jason Merrill <jason@redhat.com>
294 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
295 * c-common.h: Don't declare it here.
296 * c-common.c: Or define it here.
297 * c-opts.c (c_common_handle_option): Or set it here.
300 * c-common.c (handle_transparent_union_attribute): Don't
301 make a duplicate type in C++.
303 2011-03-15 Jason Merrill <jason@redhat.com>
305 * c-common.c (max_constexpr_depth): New.
306 * c-common.h: Declare it.
307 * c-opts.c (c_common_handle_option): Set it.
308 * c.opt (fconstexpr-depth): New option.
310 2011-03-11 Jason Merrill <jason@redhat.com>
312 * c-common.c (attribute_takes_identifier_p): Add missing const.
315 * c-common.c (attribute_takes_identifier_p): Assume that an
316 unknown attribute takes an identifier.
318 2011-03-07 Nathan Froyd <froydnj@codesourcery.com>
321 * c-common.c (c_type_hash): Call list_length instead of iterating
322 through DECL_CHAIN. Rename 'i' to 'n_elements'.
324 2011-02-19 Jakub Jelinek <jakub@redhat.com>
327 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
329 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
331 * c.opt (fobjc-abi-version=) New.
332 (fobjc-nilcheck): New.
334 2011-02-03 Nathan Froyd <froydnj@codesourcery.com>
337 * c-common.h (keyword_is_decl_specifier): Declare.
338 * c-common.c (keyword_is_decl_specifier): Define.
339 (keyword_is_function_specifier): New function.
341 2011-01-26 Jakub Jelinek <jakub@redhat.com>
344 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
345 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
348 2011-01-26 Arnaud Charlet <charlet@adacore.com>
350 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
352 2011-01-26 Jakub Jelinek <jakub@redhat.com>
355 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
356 after init_c_lex if pch_file is set.
358 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
361 * c.opt (-fkeep-inline-dllexport): New switch.
363 2011-01-12 Richard Guenther <rguenther@suse.de>
366 * c-common.c (handle_weak_attribute): Warn instead of error
367 on declaring an inline function weak.
369 2011-01-05 Tom Tromey <tromey@redhat.com>
371 * c-common.h (lvalue_error): Update.
372 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
375 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
378 * c-objc.h (objc_finish_message_expr): Added argument to
381 2010-12-22 Nathan Froyd <froydnj@codesourcery.com>
383 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
386 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
388 * c-objc.h (objc_maybe_warn_exceptions): New.
389 * stub-objc.c (objc_maybe_warn_exceptions): New.
391 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
393 * c-common.h (readonly_error): Declare.
394 * c-common.c (readonly_error): Define.
396 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
398 * c-common.h (invalid_indirection_error): Declare.
399 * c-common.c (invalid_indirection_error): Define.
401 2010-12-03 Richard Guenther <rguenther@suse.de>
404 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
405 (pp_c_unary_expression): Likewise.
406 (pp_c_expression): Likewise.
408 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
410 * c-common.h (objc_finish_function): New.
411 (objc_non_volatilized_type): Removed.
412 (objc_type_quals_match): Removed.
413 * stub-objc.c (objc_finish_function): New.
414 (objc_non_volatilized_type): Removed.
415 (objc_type_quals_match): Removed.
417 2010-11-30 Joseph Myers <joseph@codesourcery.com>
419 * c-common.h (parse_optimize_options): Declare.
420 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
421 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
423 2010-11-29 Joseph Myers <joseph@codesourcery.com>
425 * c-opts.c (check_deps_environment_vars): Use getenv instead of
427 * c-pch.c (O_BINARY): Don't define here.
428 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
430 2010-11-25 Joseph Myers <joseph@codesourcery.com>
432 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
433 targetm.except_unwind_info.
435 2010-11-23 Joseph Myers <joseph@codesourcery.com>
437 * c-opts.c (c_common_handle_option): Pass location to
438 set_struct_debug_option.
440 2010-11-23 Joseph Myers <joseph@codesourcery.com>
442 * c-common.c (visibility_options): Move from ../opts.c.
443 * c-common.h (struct visibility_flags, visibility_options):
445 * c-opts.c (finish_options): Rename to c_finish_options.
446 (c_common_init): Update call to finish_options.
448 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
451 * c-lex.c (lex_string): Check that each string in an Objective-C
452 string concat sequence starts with either one or zero '@', and
453 that there are no spurious '@' signs at the end.
455 2010-11-20 Joseph Myers <joseph@codesourcery.com>
457 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
458 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
459 HANDLE_PRAGMA_VISIBILITY.
460 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
461 HANDLE_PRAGMA_VISIBILITY): Don't define.
462 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
464 2010-11-20 Nathan Froyd <froydnj@codesourcery.com>
469 * c-common.h (keyword_begins_type_specifier): Declare.
470 (keyword_is_storage_class_specifier): Declare.
471 (keyword_is_type_qualifier): Declare.
472 * c-common.c (keyword_begins_type_specifier): New function.
473 (keyword_is_storage_class_specifier): New function.
474 (keyword_is_type_qualifier): Declare.
476 2010-11-19 Joseph Myers <joseph@codesourcery.com>
479 * c-common.c (in_late_binary_op): Define.
480 (c_common_truthvalue_conversion): Check in_late_binary_op before
482 * c-common.h (in_late_binary_op): Declare.
484 2010-11-19 Joseph Myers <joseph@codesourcery.com>
486 * c-opts.c (c_common_handle_option): Update calls to
487 set_struct_debug_option.
489 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
491 * c-common.h (objc_declare_protocols): Added additional argument.
492 * stub-objc.c (objc_declare_protocol): Same change.
494 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
497 * c-common.h (build_real_imag_expr): Declare.
498 * c-semantics.c (build_real_imag_expr): Define.
500 2010-11-17 Joseph Myers <joseph@codesourcery.com>
502 * c-opts.c (c_common_parse_file): Take no arguments.
503 * c-common.h (c_common_parse_file): Update prototype.
505 2010-11-16 Jakub Jelinek <jakub@redhat.com>
508 * c-common.c (warning_candidate_p): Don't track non-const calls
511 2010-11-15 Ian Lance Taylor <iant@google.com>
513 * c-lex.c (init_c_lex): Set macro debug callbacks if
514 flag_dump_go_spec is set.
516 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
518 * c-common.h (objc_build_incr_expr_for_property_ref): New.
519 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
521 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
523 PR preprocessor/45038
524 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
527 2010-11-12 Joseph Myers <joseph@codesourcery.com>
529 * c-common.h (c_family_lang_mask): Declare.
530 * c-opts.c (c_family_lang_mask): Make extern.
531 * c-pragma.c (handle_pragma_diagnostic): Use
532 control_warning_option.
534 2010-11-12 Joseph Myers <joseph@codesourcery.com>
536 * c-common.c (parse_optimize_options): Update call to
538 * c-common.h (c_common_handle_option): Update prototype.
539 * c-opts.c (c_common_handle_option): Take location_t parameter and
540 pass it to other functions.
542 2010-11-11 Joseph Myers <joseph@codesourcery.com>
544 * c-opts.c (warning_as_error_callback): Remove.
545 (c_common_initialize_diagnostics): Don't call
546 register_warning_as_error_callback.
547 (c_common_handle_option): Handle -Werror=normalized= here.
549 2010-11-10 Joseph Myers <joseph@codesourcery.com>
551 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
553 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
555 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
556 Remove trailing '.' from diagnostics.
557 * c.opt (Wwrite-strings_: Avoid '`' in help text.
559 2010-11-10 Joseph Myers <joseph@codesourcery.com>
561 * c-common.c (parse_optimize_options): Pass global_dc to
563 * c-opts.c (c_common_handle_option): Pass &global_options to
564 set_Wstrict_aliasing.
565 * c.opt (v): Don't mark Common or document here.
567 2010-11-06 Iain Sandoe <iains@gcc.gnu.org>
570 * c-format.c (format_type): New type gcc_objc_string_format_type.
571 (valid_stringptr_type_p): New.
572 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
573 (check_format_string): Pass expected type, use
574 valid_stringptr_type_p (), check that the format string types are
575 consistent with the format specification.
576 (decode_format_attr): Warn if NSString is used outside objective-c.
577 (format_types_orig): Add NSString.
580 (check_format_arg): Handle format strings requiring an external parser.
581 first_target_format_type: New variable.
582 (handle_format_attribute): Set up first_target_format_type, pass the
583 expected format arg string type to check_format_string().
584 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
585 * stub-objc.c (objc_string_ref_type_p): New.
586 (objc_check_format_arg): New.
588 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
590 Fixed using the Objective-C 2.0 dot-syntax with class names.
591 * c-common.h (objc_build_class_component_ref): New.
592 * stub-objc.c (objc_build_class_component_ref): New.
594 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
596 * c.opt (Wproperty-assign-default): New option.
598 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
600 Implemented -fobjc-std=objc1 flag.
601 * c.opt (fobjc-std=objc1): New option.
603 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
605 Implemented format and noreturn attributes for Objective-C methods.
606 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
607 attribute for Objective-C methods.
609 2010-10-31 Jason Merrill <jason@redhat.com>
611 * c-common.c (conversion_warning, warn_for_collisions_1): Use
614 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
616 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
617 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
618 (objc_add_property_declaration): Removed arguments for copies and
620 (objc_build_getter_call): Renamed to
621 objc_maybe_build_component_ref.
622 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
623 (objc_is_property_ref): New.
624 * c-common.c (c_common_reswords): Removed copies and ivar.
625 * stub-objc.c (objc_add_property_declaration): Removed arguments
627 (objc_build_getter_call): Renamed to
628 objc_maybe_build_component_ref.
629 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
630 (objc_is_property_ref): New.
632 2010-10-29 Arnaud Charlet <charlet@adacore.com>
633 Matthew Gingell <gingell@adacore.com>
635 * c-ada-spec.c (separate_class_package): New function.
636 (pp_ada_tree_identifier): Prefix references to C++ classes with the
637 name of their enclosing package.
638 (print_ada_declaration): Use separate_class_package.
640 2010-10-27 Jason Merrill <jason@redhat.com>
642 * c-common.c (c_common_reswords): Add __is_literal_type.
643 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
645 * c-common.c (check_case_value): Remove special C++ code.
647 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
649 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
650 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
652 (objc_add_property_declaration): Added additional arguments.
653 (objc_property_attribute_kind): Removed.
654 (objc_set_property_attr): Removed.
655 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
657 * stub-objc.c (objc_add_property_declaration): Added additional
659 (objc_set_property_attr): Removed.
661 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
663 * c-common.h (objc_add_property_variable): Renamed to
664 objc_add_property_declaration. Added location argument.
665 * stub-objc.c (objc_add_property_variable): Same change.
667 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
669 * c-common.h (objc_maybe_printable_name): New.
670 * stub-objc.c (objc_maybe_printable_name): New.
672 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
673 Andrew Pinski <pinskia@gmail.com>
675 * c-common.h (c_common_mark_addressable_vec): Declare.
676 * c-common.c (c_common_mark_addressable_vec): New function.
678 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
680 * c-common.h (objc_set_method_type): Removed.
681 (objc_add_method_declaration): Added boolean argument.
682 (objc_start_method_definition): Same change.
683 (objc_build_method_signature): Same change.
684 * stub-objc.c (objc_set_method_type): Removed.
685 (objc_add_method_declaration): Added boolean argument.
686 (objc_start_method_definition): Same change.
687 (objc_build_method_signature): Same change.
689 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
691 * c-common.h (finish_file): Removed.
692 (objc_write_global_declarations): New.
693 * c-opts.c (c_common_parse_file): Do not call finish_file.
694 * stub-objc.c (objc_write_global_declarations): New.
696 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
698 Implemented parsing @synthesize and @dynamic for
699 Objective-C/Objective-C++.
700 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
701 (objc_add_synthesize_declaration): New.
702 (objc_add_dynamic_declaration): New.
703 * c-common.c (c_common_reswords): Add synthesize and dynamic.
704 * stub-objc.c (objc_add_synthesize_declaration): New.
705 (objc_add_dynamic_declaration): New.
707 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
710 * c-cppbuiltin.c (mode_has_fma): Move function here from
711 builtins.c. Don't use the fma optab, instead just use the
712 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
715 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
717 Merge from 'apple/trunk' branch on FSF servers.
719 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
722 * c-common.h (objc_non_volatilized_type): New declaration
723 * stub-objc.c (objc_non_volatilized_type): New stub.
725 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
727 Merge from 'apple/trunk' branch on FSF servers.
729 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
732 * c-common.h (objc_diagnose_private_ivar): New decl.
733 * stub-objc.c (objc_diagnose_private_ivar): New stub.
735 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
737 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
738 * c-common.h (enum rid): Add RID_AT_PACKAGE.
739 (objc_ivar_visibility_kind): New enum.
740 (objc_set_visibility): Adjust prototype to use visibility enum.
741 * stub-objc.c (objc_set_visibility): Adjust stub to use
744 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
746 * c-cppbuiltin.c (builtin_define_float_constants): Emit
747 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
748 has the appropriate fma builtins.
749 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
751 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
753 merge from FSF apple 'trunk' branch.
754 2006 Fariborz Jahanian <fjahanian@apple.com>
756 Radars 4436866, 4505126, 4506903, 4517826
757 * c-common.c (c_common_resword): Define @property and its attributes.
758 * c-common.h: Define property attribute enum entries.
759 (OBJC_IS_PATTR_KEYWORD): New.
760 (objc_property_attribute_kind): New enum.
761 Declare objc_set_property_attr (), objc_add_property_variable (),
762 objc_build_getter_call () and objc_build_setter_call ().
763 * stub-objc.c (objc_set_property_attr): New stub.
764 (objc_add_property_variable): Likewise.
765 (objc_build_getter_call): Likewise.
766 (objc_build_setter_call) Likewise.
768 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
770 merge from FSF apple 'trunk' branch.
771 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
773 Radar 3803157 (method attributes)
774 * c-common.c (handle_deprecated_attribute): Recognize
775 objc methods as valid declarations.
776 * c-common.h: Declare objc_method_decl ().
777 * stub-objc.c (objc_method_decl): New stub.
779 2010-10-08 Joseph Myers <joseph@codesourcery.com>
781 * c-common.c (parse_optimize_options): Call
782 decode_cmdline_options_to_array_default_mask before
783 decode_options. Update arguments to decode_options.
784 * c-common.h (c_common_init_options_struct): Declare.
785 * c-opts.c (c_common_init_options_struct): New. Split out from
786 c_common_init_options.
788 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
790 Implemented fast enumeration for Objective-C.
791 * c-common.h (objc_finish_foreach_loop): New.
792 * stub-objc.c (objc_finish_foreach_loop): New.
794 2010-10-05 Joseph Myers <joseph@codesourcery.com>
796 * c-common.h (struct diagnostic_context): Don't declare here.
797 (c_common_initialize_diagnostics): Declare using
798 diagnostic_context typedef.
799 * c-opts.c (c_common_handle_option): Pass global_dc to
800 handle_generated_option.
802 2010-10-04 Joseph Myers <joseph@codesourcery.com>
804 * c-opts.c (c_common_handle_option): Pass &global_options_set to
805 handle_generated_option.
807 2010-10-03 Ian Lance Taylor <iant@google.com>
809 * c.opt (-fplan9-extensions): New option.
811 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
813 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
815 (c_cpp_builtins): Call functions from cppbuiltin.c instead
818 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
820 * c-common.c: Add two new entries for @optional
821 and @required keywords.
823 merge from FSF 'apple/trunk' branch.
824 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
827 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
828 objective-c keywords.
829 (objc_set_method_opt): New declaration.
830 * stub-objc.c (objc_set_method_opt): New stub.
832 2010-09-30 Joseph Myers <joseph@codesourcery.com>
834 * c-common.c (handle_optimize_attribute): Pass &global_options to
835 cl_optimization_save and cl_optimization_restore.
836 * c-opts.c (c_common_handle_option): Pass &global_options to
837 handle_generated_option.
838 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
839 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
840 &global_options to cl_optimization_restore.
842 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
844 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
845 Objective-C/Objective-C++ keywords.
847 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
849 Merge from 'apple/trunk' branch on FSF servers.
851 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
854 * c-common.h (objc_check_global_decl): New declaration.
855 * stub-objc.c (objc_check_global_decl): New stub.
857 2010-09-29 Joseph Myers <joseph@codesourcery.com>
859 * c.opt: Don't use VarExists.
861 2010-09-29 Joseph Myers <joseph@codesourcery.com>
863 * c-common.c (c_cpp_error): Update names of diagnostic_context
865 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
866 cl_optimization members.
867 * c-opts.c (warning_as_error_callback, c_common_handle_option,
868 sanitize_cpp_opts, finish_options): Update names of cpp_options
871 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
873 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
874 (objc_is_reserved_word): Removed.
875 * c-common.c: Updated comments.
876 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
877 objc_is_reserved_word.
878 * stub-objc.c (objc_is_reserved_word): Removed.
880 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
882 * c-common.h (objc_add_method_declaration): Adjust prototype to
884 (objc_start_method_definition): Likewise.
885 (objc_build_keyword_decl): Likewise.
886 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
887 (objc_start_method_definition): Likewise.
888 (objc_build_keyword_decl): Likewise.
890 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
892 * c-common.h (objc_start_class_interface): Adjust prototype.
893 (objc_start_category_interface): Likewise.
894 (objc_start_protocol): Likewise.
895 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
896 (objc_start_class_interface): Likewise.
897 (objc_start_category_interface): Likewise.
899 2010-09-27 Ian Lance Taylor <iant@google.com>
901 * c-common.c (c_common_attribute_table): Add no_split_stack.
902 (handle_no_split_stack_attribute): New static function.
904 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
906 Merge from 'apple/trunk' branch on FSF servers.
908 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
911 * c-common.h (objc_have_common_type): New declaration.
912 * stub-objc.c (objc_have_common_type): New stub.
914 2005-06-22 Ziemowit Laski <zlaski@apple.com>
917 * c-common.h (objc_common_type): New prototype.
918 * stub-objc.c (objc_common_type): New stub.
920 2010-09-24 Jan Hubicka <jh@suse.cz>
922 * c-common.c (handle_leaf_attribute): New function.
923 (struct attribute_spec c_common_att): Add leaf.
925 2010-09-22 Joseph Myers <joseph@codesourcery.com>
927 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
928 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
929 -dump, -dump=, -imacros, -imacros=, -include, -include=,
930 -include-barrier, -include-directory, -include-directory=,
931 -include-directory-after, -include-directory-after=,
932 -include-prefix, -include-prefix=, -include-with-prefix,
933 -include-with-prefix=, -include-with-prefix-after,
934 -include-with-prefix-after=, -include-with-prefix-before,
935 -include-with-prefix-before=, -no-integrated-cpp,
936 -no-line-commands, -no-standard-includes, -no-warnings, -output,
937 -output=, -pedantic, -pedantic-errors, -preprocess,
938 -print-missing-file-dependencies, -trace-includes, -traditional,
939 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
940 -user-dependencies, -verbose, -write-dependencies,
941 -write-user-dependencies, no-integrated-cpp, traditional): New.
943 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
946 * c-common.h (objc_start_method_definition): Return bool instead
948 * stub-objc.c (objc_start_method_definition): Return bool instead
951 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
954 * c-common.h (objc_get_interface_ivars): New declaration.
955 * stub-objc.c (objc_get_interface_ivars): New stub.
957 2010-09-15 Ian Lance Taylor <iant@google.com>
959 * c-common.c (parse_optimize_options): Do not capitalize warning
960 messages. Remove period at end of warning message.
962 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
964 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
965 (handle_alias_attribute): ... here.
966 (handle_ifunc_attribute): New.
968 2010-09-06 Mark Mitchell <mark@codesourcery.com>
970 * c-common.h (do_warn_double_promotion): Declare.
971 * c-common.c (do_warn_double_promotion): Define.
973 2010-09-05 Mark Mitchell <mark@codesourcery.com>
975 * c.opt (Wdouble-promotion): New.
977 2010-09-02 Joseph Myers <joseph@codesourcery.com>
979 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
980 fvtable-thunks, fxref): Mark no longer supported in help text.
982 2010-09-02 Joseph Myers <joseph@codesourcery.com>
984 * c.opt (Wimport, fall-virtual, falt-external-templates,
985 fdefault-inline, fenum-int-equiv, fexternal-templates,
986 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
987 fname-mangling-version-, fnew-abi, fnonnull-objects,
988 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
989 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
991 (fhandle-exceptions): Mark with Alias and Warn.
992 * c-opts.c (c_common_handle_option): Don't handle options marked
995 2010-09-02 Joseph Myers <joseph@codesourcery.com>
997 * c.opt (Wcomments, Werror-implicit-function-declaration,
998 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
999 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1001 * c-common.c (option_codes): Use OPT_Wcomment instead of
1003 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1004 Don't handle options marked as aliases.
1006 2010-08-25 Richard Guenther <rguenther@suse.de>
1008 * c-common.c (c_common_get_alias_set): Remove special
1009 handling for pointers.
1011 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1013 * c-common.c: Use FOR_EACH_VEC_ELT.
1014 * c-gimplify.c: Likewise.
1015 * c-pragma.c: Likewise.
1017 2010-08-16 Joseph Myers <joseph@codesourcery.com>
1019 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1021 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1023 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1024 instead of OPT_MDX and OPT_MMDX.
1026 2010-08-16 Joseph Myers <joseph@codesourcery.com>
1028 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1030 2010-08-12 Joseph Myers <joseph@codesourcery.com>
1032 * c.opt (MD, MMD): Change to MDX and MMDX.
1033 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1035 2010-08-11 Joseph Myers <joseph@codesourcery.com>
1037 * c-opts.c (c_common_handle_option): Call handle_generated_option
1038 instead of handle_option.
1040 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1042 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1043 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1045 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1047 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1048 (pending_redefine_extname): Change type to a VEC.
1049 (add_to_renaming_pragma_list): Update for new type of
1050 pending_redefine_extname.
1051 (maybe_apply_renaming_pragma): Likewise.
1053 2010-08-04 Arnaud Charlet <charlet@adacore.com>
1055 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1057 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1058 decide whether a type has already been declared/seen.
1059 Do not go to the original type.
1060 (dump_nested_types): New parameter forward.
1061 Generate forward declaration if needed and mark type as visited.
1062 (print_ada_declaration): Call dump_nested_types if not already done.
1063 Mark types as visited.
1065 2010-08-03 Joseph Myers <joseph@codesourcery.com>
1067 * c.opt (-print-pch-checksum): Remove option.
1068 * c-opts.c (c_common_handle_option): Don't handle
1069 OPT_print_pch_checksum.
1071 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1073 * c-common.h (c_common_handle_option): Update prototype and return
1075 * c-opts.c (c_common_handle_option): Update prototype and return
1076 value type. Update calls to handle_option and
1077 enable_warning_as_error.
1079 2010-07-27 Jakub Jelinek <jakub@redhat.com>
1082 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1084 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1086 * c-common.h (c_common_missing_argument): Remove.
1087 * c-opts.c (c_common_missing_argument): Remove.
1088 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1089 idirafter, imacros, include, isysroot, isystem, iquote): Add
1091 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1093 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1095 * c-common.h (c_common_option_lang_mask,
1096 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1098 (c_common_init_options): Update prototype.
1099 * c-opts.c (c_common_option_lang_mask): New.
1100 (c_common_initialize_diagnostics): Split out of
1101 c_common_init_options.
1102 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1104 (c_common_init_options): Update prototype. Use decoded options in
1105 search for -lang-asm.
1107 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1109 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1110 * c-format.c: Likewise.
1112 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1114 * c-common.h: Include diagnostic-core.h. Error if already
1116 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1118 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1120 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1121 Do not include expr.h
1122 (vector_mode_valid_p): Move here.
1124 2010-06-21 DJ Delorie <dj@redhat.com>
1126 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1127 allow these pragmas anywhere.
1129 2010-06-14 Jakub Jelinek <jakub@redhat.com>
1132 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1133 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1134 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1135 ggc_strdup instead of xstrdup.
1137 2010-06-10 Jakub Jelinek <jakub@redhat.com>
1139 * c-cppbuiltin.c: Include cpp-id-data.h.
1140 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1141 (lazy_hex_fp_value): New function.
1142 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1144 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1146 * c-gimplify.c: Do not include tree-flow.h
1148 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1151 * c-common.c: Rename targetm member:
1152 targetm.enum_va_list -> targetm.enum_va_list_p
1154 2010-06-28 Anatoly Sokolov <aesok@post.ru>
1156 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1158 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1160 * c-cppbuiltin.c: Do not include except.h.
1162 2010-06-24 Andi Kleen <ak@linux.intel.com>
1164 * c-common.c (warn_for_omitted_condop): New.
1165 * c-common.h (warn_for_omitted_condop): Add prototype.
1167 2010-06-21 Joseph Myers <joseph@codesourcery.com>
1169 * c.opt (lang-objc): Remove.
1170 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1172 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1174 * c-opts.c: Include "tm_p.h".
1176 2010-06-20 Joseph Myers <joseph@codesourcery.com>
1178 * c-common.c (parse_optimize_options): Update call to
1181 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1183 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1184 new type of types_used_by_cur_var_decl.
1186 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1189 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1190 for C++ standard compliance.
1192 2010-06-16 Jason Merrill <jason@redhat.com>
1194 * c.opt: Add -Wnoexcept.
1196 2010-06-16 Richard Guenther <rguenther@suse.de>
1199 * c-common.c (c_common_truthvalue_conversion): Remove
1200 premature and wrong optimization concering ADDR_EXPRs.
1202 2010-06-15 Arnaud Charlet <charlet@adacore.com>
1204 * c-ada-spec.c (dump_sloc): Remove column info.
1205 (is_simple_enum): New function.
1206 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1207 enum types when relevant.
1209 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1211 * c-common.c (conversion_warning): Warn at expression
1214 2010-06-10 Joseph Myers <joseph@codesourcery.com>
1216 * c-opts.c (c_common_handle_option): Don't handle
1219 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1221 * c-pragma.c (push_alignment): Use typed GC allocation.
1222 (handle_pragma_push_options): Likewise.
1224 * c-common.c (parse_optimize_options): Likewise.
1226 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1229 2010-06-07 Joseph Myers <joseph@codesourcery.com>
1231 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1232 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1233 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1234 flag_signed_bitfields, warn_strict_null_sentinel,
1235 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1236 flag_gen_declaration, flag_no_gnu_keywords,
1237 flag_implement_inlines, flag_implicit_templates,
1238 flag_implicit_inline_templates, flag_optional_diags,
1239 flag_elide_constructors, flag_default_inline, flag_rtti,
1240 flag_conserve_space, flag_access_control, flag_check_new,
1241 flag_new_for_scope, flag_weak, flag_working_directory,
1242 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1243 flag_enforce_eh_specs, flag_threadsafe_statics,
1244 flag_pretty_templates): Remove.
1245 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1246 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1247 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1248 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1249 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1250 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1251 flag_no_gnu_keywords, flag_implement_inlines,
1252 flag_implicit_templates, flag_implicit_inline_templates,
1253 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1254 flag_rtti, flag_conserve_space, flag_access_control,
1255 flag_check_new, flag_new_for_scope, flag_weak,
1256 flag_working_directory, flag_use_cxa_atexit,
1257 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1258 flag_threadsafe_statics, flag_pretty_templates,
1259 warn_strict_null_sentinel): Remove.
1260 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1261 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1262 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1263 fimplicit-inline-templates, fimplicit-templates,
1264 flax-vector-conversions, fms-extensions, fnil-receivers,
1265 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1266 frtti, fshort-double, fshort-enums, fshort-wchar,
1267 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1268 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1269 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1270 gen-decls, undef): Use Var.
1271 (fdefault-inline, foptional-diags): Document as doing nothing.
1272 * c-opts.c (c_common_handle_option): Remove cases for options now
1273 using Var. Mark ignored options as such.
1275 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1277 * c-common.c: Moved to here from parent directory.
1278 * c-common.def: Likewise.
1279 * c-common.h: Likewise.
1280 * c-cppbuiltin.c: Likewise.
1281 * c-dump.c: Likewise.
1282 * c-format.c: Likewise.
1283 * c-format.h : Likewise.
1284 * c-gimplify.c: Likewise.
1285 * c-lex.c: Likewise.
1286 * c-omp.c: Likewise.
1288 * c-opts.c: Likewise.
1289 * c-pch.c: Likewise.
1290 * c-ppoutput.c: Likewise.
1291 * c-pragma.c: Likewise.
1292 * c-pragma.h: Likewise.
1293 * c-pretty-print.c: Likewise.
1294 * c-pretty-print.h: Likewise.
1295 * c-semantics.c: Likewise.
1296 * stub-objc.c: Likewise.
1298 * c-common.c: Include gt-c-family-c-common.h.
1299 * c-pragma.c: Include gt-c-family-c-pragma.h.
1301 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1303 Copying and distribution of this file, with or without modification,
1304 are permitted in any medium without royalty provided the copyright
1305 notice and this notice are preserved.