1 2011-07-20 Jason Merrill <jason@redhat.com>
5 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
6 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
8 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
10 2011-07-19 Richard Guenther <rguenther@suse.de>
12 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
13 * c-omp.c (c_finish_omp_for): Likewise.
15 2011-07-12 Eric Botcazou <ebotcazou@adacore.com>
17 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
18 body on the next line.
20 2011-07-08 Jason Merrill <jason@redhat.com>
23 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
26 * c-common.c (c_apply_type_quals_to_decl): Don't check
27 TYPE_NEEDS_CONSTRUCTING.
29 2011-07-06 Richard Guenther <rguenther@suse.de>
31 * c-common.c (c_common_nodes_and_builtins):
32 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
34 2011-07-05 Richard Guenther <rguenther@suse.de>
36 * c-common.c (c_common_nodes_and_builtins): Build all common
39 2011-06-27 Jakub Jelinek <jakub@redhat.com>
41 * c-common.h (c_tree_chain_next): New static inline function.
43 * c-common.c (check_builtin_function_arguments): Handle
44 BUILT_IN_ASSUME_ALIGNED.
46 2011-06-21 Andrew MacLeod <amacleod@redhat.com>
48 * c-common.c: Add sync_ or SYNC__ to builtin names.
49 * c-omp.c: Add sync_ or SYNC__ to builtin names.
51 2011-06-20 Pierre Vittet <piervit@pvittet.com>
53 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
55 (gen_pragma_handler): New union.
56 (internal_pragma_handler): New type.
57 (c_register_pragma_with_data)
58 (c_register_pragma_with_expansion_and_data): New functions.
60 * c-pragma.c (registered_pragmas, c_register_pragma_1)
61 (c_register_pragma, c_register_pragma_with_expansion)
62 (c_invoke_pragma_handler): Changed to work with
63 internal_pragma_handler.
64 (c_register_pragma_with_data)
65 (c_register_pragma_with_expansion_and_data): New functions.
67 2011-06-14 Joseph Myers <joseph@codesourcery.com>
69 * c-common.c: Include common/common-target.h.
70 (handle_section_attribute): Use
71 targetm_common.have_named_sections.
72 * c-cppbuiltin.c: Include common/common-target.h.
73 (c_cpp_builtins): Use targetm_common.except_unwind_info.
75 2011-06-10 Richard Guenther <rguenther@suse.de>
77 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
78 to print a IDENTIFIER_NODE.
80 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
81 Joseph Myers <joseph@codesourcery.com>
83 * c.opt (fbuilding-libgcc): New option.
84 * c-cppbuiltin.c (c_cpp_builtins): Define
85 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
87 2011-06-07 Jason Merrill <jason@redhat.com>
89 * c-common.c (max_tinst_depth): Lower default to 900.
91 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
93 2011-06-07 Richard Guenther <rguenther@suse.de>
95 * c-common.c (c_common_nodes_and_builtins): Do not set
96 size_type_node or call set_sizetype.
98 2011-06-07 Dodji Seketeli <dodji@redhat.com>
101 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
102 type when using pointer comparison to compare types.
104 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
106 * c.opt: Add -Wdelete-non-virtual-dtor.
107 * c-opts.c (c_common_handle_option): Include it in -Wall.
109 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
114 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
116 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
119 2011-05-27 Jakub Jelinek <jakub@redhat.com>
122 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
123 C++ don't call c_common_truthvalue_conversion on void type arms.
125 2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
127 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
128 (stmt_list_stack): Define.
129 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
130 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
132 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
134 * c-common.c (warning_candidate_p): Check for BLOCKs.
136 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
138 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
141 2011-05-25 Jakub Jelinek <jakub@redhat.com>
143 * c-common.c (def_fn_type): Remove extra va_end.
145 2011-05-23 Jason Merrill <jason@redhat.com>
148 * c-common.c (c_common_get_narrower): New.
149 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
151 2011-05-23 Nathan Froyd <froydnj@codesourcery.com>
153 * c-common.h (check_function_arguments): Tweak prototype of
154 check_function_arguments.
155 * c-common.c (check_function_arguments): Likewise. Adjust
156 calls to check_function_nonnull, check_function_format, and
157 check_function_sentinel.
158 (check_function_sentinel): Take a FUNCTION_TYPE rather than
159 separate attributes and typelist arguments. Use
160 FOREACH_FUNCTION_ARGS to iterate over argument types.
162 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
164 * c-common.c (c_common_reswords): Reorder.
165 * c-common.h (rid): Likewise.
167 2011-05-10 Nathan Froyd <froydnj@codesourcery.com>
169 * c-common.c (def_fn_type): Don't call build_function_type, call
170 build_function_type_array or build_varargs_function_type_array
172 (c_common_nodes_and_builtins): Likewise.
174 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
176 * c-common.c (c_add_case_label): Omit the loc argument to
178 * c-common.h (build_case_label): Remove.
179 * c-semantics.c (build_case_label): Remove.
181 2011-05-05 Joseph Myers <joseph@codesourcery.com>
183 * c-objc.h (objc_start_method_definition): Update prototype.
184 * stub-objc.c (objc_start_method_definition): Add extra parameter.
186 2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
188 * c-common.c (check_main_parameter_types): Reindent. Don't use
189 TYPE_ARG_TYPES directly.
190 (handle_nonnull_attribute): Likewise.
191 (sync_resolve_params): Likewise.
192 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
193 to check_format_string.
194 (handle_format_attribute): Likewise.
195 (check_format_string): Take a function type to examine instead of
196 a type list. Use a function_arg_iterator to step through argument
199 2011-05-04 Richard Guenther <rguenther@suse.de>
201 * c-common.c (fix_string_type): Use size_int for index type bounds.
202 (start_fname_decls): Do not pass NULL to build_int_cst.
203 (c_init_attributes): Likewise.
204 * c-lex.c (c_lex_with_flags): Likewise.
206 2011-04-27 Jason Merrill <jason@redhat.com>
208 * c-common.c (make_tree_vector_from_list): New.
209 * c-common.h: Declare it.
211 2011-04-26 Richard Guenther <rguenther@suse.de>
213 PR preprocessor/48248
214 * c-ppoutput.c (maybe_print_line): Always optimize newlines
215 for output size with -P.
217 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
219 * c-common.c (struct c_common_resword): Add __underlying_type.
220 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
222 2011-04-20 Jim Meyering <meyering@redhat.com>
224 * c-format.c (init_dollar_format_checking): Remove useless
227 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
229 * c-objc.h (objc_get_interface_ivars): Removed.
230 (objc_detect_field_duplicates): New.
231 * stub-objc.c: Likewise.
233 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
235 * stub-objc.c (objc_declare_protocols): Renamed to
236 objc_declare_protocol.
237 * c-objc.h: Likewise.
239 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
241 * stub-objc.c (objc_declare_class): Updated argument name.
243 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
245 * c-common.h (c_common_init_ts): Declare.
246 * c-common.c (c_common_init_ts): Define.
248 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
250 * c-objc.h (objc_build_message_expr): Updated prototype.
251 * stub-objc.c (objc_build_message_expr): Likewise.
253 2011-04-12 Martin Jambor <mjambor@suse.cz>
255 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
258 2011-04-11 Richard Guenther <rguenther@suse.de>
260 * c-common.c (complete_array_type): Build a range type of
263 2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
265 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
266 (handle_type_generic_attribute): Likewise.
268 2011-04-07 Jason Merrill <jason@redhat.com>
271 * c-common.c (c_common_truthvalue_conversion): Don't ignore
272 conversion from C++0x scoped enum.
274 2011-04-06 Joseph Myers <joseph@codesourcery.com>
276 * c-target-def.h: New file.
277 * c-target.def: New file.
278 * c-target.h: New file.
279 * c-common.c (targetcm): Don't define here.
280 * c-common.h (default_handle_c_option): Declare.
281 * c-format.c: Include c-target.h instead of target.h.
282 * c-opts.c: Include c-target.h instead of target.h. Explicitly
284 (default_handle_c_option): Move from targhooks.c.
286 2011-03-29 Jakub Jelinek <jakub@redhat.com>
288 PR preprocessor/48248
289 * c-ppoutput.c (print): Add src_file field.
290 (init_pp_output): Initialize it.
291 (maybe_print_line): Don't optimize by adding up to 8 newlines
292 if map->to_file and print.src_file are different file.
293 (print_line): Update print.src_file.
295 2011-03-25 Kai Tietz <ktietz@redhat.com>
297 * c-ada-spec.c (compare_comment): Use filename_cmp
298 instead of strcmp for filename.
300 2011-03-25 Jeff Law <law@redhat.com>
302 * c-family/c-common.c (def_fn_type): Add missing va_end.
304 2011-03-25 Jason Merrill <jason@redhat.com>
306 * c.opt: Add -std=c++03.
308 2011-03-22 Eric Botcazou <ebotcazou@adacore.com>
310 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
315 * c-pretty-print.c (pp_c_specifier_qualifier_list):
316 Display allowed attributes for function pointer types.
317 (pp_c_attributes_display): New function to display
318 attributes having affects_type_identity flag set to true.
319 * c-pretty-print.h (pp_c_attributes_display): New prototype.
321 * c-common.c (c_common_attribute_table):
323 (c_common_format_attribute_table): Likewise.
325 2011-03-18 Jason Merrill <jason@redhat.com>
327 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
328 * c-common.h: Don't declare it here.
329 * c-common.c: Or define it here.
330 * c-opts.c (c_common_handle_option): Or set it here.
333 * c-common.c (handle_transparent_union_attribute): Don't
334 make a duplicate type in C++.
336 2011-03-15 Jason Merrill <jason@redhat.com>
338 * c-common.c (max_constexpr_depth): New.
339 * c-common.h: Declare it.
340 * c-opts.c (c_common_handle_option): Set it.
341 * c.opt (fconstexpr-depth): New option.
343 2011-03-11 Jason Merrill <jason@redhat.com>
345 * c-common.c (attribute_takes_identifier_p): Add missing const.
348 * c-common.c (attribute_takes_identifier_p): Assume that an
349 unknown attribute takes an identifier.
351 2011-03-07 Nathan Froyd <froydnj@codesourcery.com>
354 * c-common.c (c_type_hash): Call list_length instead of iterating
355 through DECL_CHAIN. Rename 'i' to 'n_elements'.
357 2011-02-19 Jakub Jelinek <jakub@redhat.com>
360 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
362 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
364 * c.opt (fobjc-abi-version=) New.
365 (fobjc-nilcheck): New.
367 2011-02-03 Nathan Froyd <froydnj@codesourcery.com>
370 * c-common.h (keyword_is_decl_specifier): Declare.
371 * c-common.c (keyword_is_decl_specifier): Define.
372 (keyword_is_function_specifier): New function.
374 2011-01-26 Jakub Jelinek <jakub@redhat.com>
377 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
378 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
381 2011-01-26 Arnaud Charlet <charlet@adacore.com>
383 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
385 2011-01-26 Jakub Jelinek <jakub@redhat.com>
388 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
389 after init_c_lex if pch_file is set.
391 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
394 * c.opt (-fkeep-inline-dllexport): New switch.
396 2011-01-12 Richard Guenther <rguenther@suse.de>
399 * c-common.c (handle_weak_attribute): Warn instead of error
400 on declaring an inline function weak.
402 2011-01-05 Tom Tromey <tromey@redhat.com>
404 * c-common.h (lvalue_error): Update.
405 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
408 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
411 * c-objc.h (objc_finish_message_expr): Added argument to
414 2010-12-22 Nathan Froyd <froydnj@codesourcery.com>
416 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
419 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
421 * c-objc.h (objc_maybe_warn_exceptions): New.
422 * stub-objc.c (objc_maybe_warn_exceptions): New.
424 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
426 * c-common.h (readonly_error): Declare.
427 * c-common.c (readonly_error): Define.
429 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
431 * c-common.h (invalid_indirection_error): Declare.
432 * c-common.c (invalid_indirection_error): Define.
434 2010-12-03 Richard Guenther <rguenther@suse.de>
437 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
438 (pp_c_unary_expression): Likewise.
439 (pp_c_expression): Likewise.
441 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
443 * c-common.h (objc_finish_function): New.
444 (objc_non_volatilized_type): Removed.
445 (objc_type_quals_match): Removed.
446 * stub-objc.c (objc_finish_function): New.
447 (objc_non_volatilized_type): Removed.
448 (objc_type_quals_match): Removed.
450 2010-11-30 Joseph Myers <joseph@codesourcery.com>
452 * c-common.h (parse_optimize_options): Declare.
453 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
454 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
456 2010-11-29 Joseph Myers <joseph@codesourcery.com>
458 * c-opts.c (check_deps_environment_vars): Use getenv instead of
460 * c-pch.c (O_BINARY): Don't define here.
461 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
463 2010-11-25 Joseph Myers <joseph@codesourcery.com>
465 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
466 targetm.except_unwind_info.
468 2010-11-23 Joseph Myers <joseph@codesourcery.com>
470 * c-opts.c (c_common_handle_option): Pass location to
471 set_struct_debug_option.
473 2010-11-23 Joseph Myers <joseph@codesourcery.com>
475 * c-common.c (visibility_options): Move from ../opts.c.
476 * c-common.h (struct visibility_flags, visibility_options):
478 * c-opts.c (finish_options): Rename to c_finish_options.
479 (c_common_init): Update call to finish_options.
481 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
484 * c-lex.c (lex_string): Check that each string in an Objective-C
485 string concat sequence starts with either one or zero '@', and
486 that there are no spurious '@' signs at the end.
488 2010-11-20 Joseph Myers <joseph@codesourcery.com>
490 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
491 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
492 HANDLE_PRAGMA_VISIBILITY.
493 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
494 HANDLE_PRAGMA_VISIBILITY): Don't define.
495 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
497 2010-11-20 Nathan Froyd <froydnj@codesourcery.com>
502 * c-common.h (keyword_begins_type_specifier): Declare.
503 (keyword_is_storage_class_specifier): Declare.
504 (keyword_is_type_qualifier): Declare.
505 * c-common.c (keyword_begins_type_specifier): New function.
506 (keyword_is_storage_class_specifier): New function.
507 (keyword_is_type_qualifier): Declare.
509 2010-11-19 Joseph Myers <joseph@codesourcery.com>
512 * c-common.c (in_late_binary_op): Define.
513 (c_common_truthvalue_conversion): Check in_late_binary_op before
515 * c-common.h (in_late_binary_op): Declare.
517 2010-11-19 Joseph Myers <joseph@codesourcery.com>
519 * c-opts.c (c_common_handle_option): Update calls to
520 set_struct_debug_option.
522 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
524 * c-common.h (objc_declare_protocols): Added additional argument.
525 * stub-objc.c (objc_declare_protocol): Same change.
527 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
530 * c-common.h (build_real_imag_expr): Declare.
531 * c-semantics.c (build_real_imag_expr): Define.
533 2010-11-17 Joseph Myers <joseph@codesourcery.com>
535 * c-opts.c (c_common_parse_file): Take no arguments.
536 * c-common.h (c_common_parse_file): Update prototype.
538 2010-11-16 Jakub Jelinek <jakub@redhat.com>
541 * c-common.c (warning_candidate_p): Don't track non-const calls
544 2010-11-15 Ian Lance Taylor <iant@google.com>
546 * c-lex.c (init_c_lex): Set macro debug callbacks if
547 flag_dump_go_spec is set.
549 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
551 * c-common.h (objc_build_incr_expr_for_property_ref): New.
552 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
554 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
556 PR preprocessor/45038
557 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
560 2010-11-12 Joseph Myers <joseph@codesourcery.com>
562 * c-common.h (c_family_lang_mask): Declare.
563 * c-opts.c (c_family_lang_mask): Make extern.
564 * c-pragma.c (handle_pragma_diagnostic): Use
565 control_warning_option.
567 2010-11-12 Joseph Myers <joseph@codesourcery.com>
569 * c-common.c (parse_optimize_options): Update call to
571 * c-common.h (c_common_handle_option): Update prototype.
572 * c-opts.c (c_common_handle_option): Take location_t parameter and
573 pass it to other functions.
575 2010-11-11 Joseph Myers <joseph@codesourcery.com>
577 * c-opts.c (warning_as_error_callback): Remove.
578 (c_common_initialize_diagnostics): Don't call
579 register_warning_as_error_callback.
580 (c_common_handle_option): Handle -Werror=normalized= here.
582 2010-11-10 Joseph Myers <joseph@codesourcery.com>
584 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
586 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
588 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
589 Remove trailing '.' from diagnostics.
590 * c.opt (Wwrite-strings_: Avoid '`' in help text.
592 2010-11-10 Joseph Myers <joseph@codesourcery.com>
594 * c-common.c (parse_optimize_options): Pass global_dc to
596 * c-opts.c (c_common_handle_option): Pass &global_options to
597 set_Wstrict_aliasing.
598 * c.opt (v): Don't mark Common or document here.
600 2010-11-06 Iain Sandoe <iains@gcc.gnu.org>
603 * c-format.c (format_type): New type gcc_objc_string_format_type.
604 (valid_stringptr_type_p): New.
605 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
606 (check_format_string): Pass expected type, use
607 valid_stringptr_type_p (), check that the format string types are
608 consistent with the format specification.
609 (decode_format_attr): Warn if NSString is used outside objective-c.
610 (format_types_orig): Add NSString.
613 (check_format_arg): Handle format strings requiring an external parser.
614 first_target_format_type: New variable.
615 (handle_format_attribute): Set up first_target_format_type, pass the
616 expected format arg string type to check_format_string().
617 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
618 * stub-objc.c (objc_string_ref_type_p): New.
619 (objc_check_format_arg): New.
621 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
623 Fixed using the Objective-C 2.0 dot-syntax with class names.
624 * c-common.h (objc_build_class_component_ref): New.
625 * stub-objc.c (objc_build_class_component_ref): New.
627 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
629 * c.opt (Wproperty-assign-default): New option.
631 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
633 Implemented -fobjc-std=objc1 flag.
634 * c.opt (fobjc-std=objc1): New option.
636 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
638 Implemented format and noreturn attributes for Objective-C methods.
639 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
640 attribute for Objective-C methods.
642 2010-10-31 Jason Merrill <jason@redhat.com>
644 * c-common.c (conversion_warning, warn_for_collisions_1): Use
647 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
649 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
650 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
651 (objc_add_property_declaration): Removed arguments for copies and
653 (objc_build_getter_call): Renamed to
654 objc_maybe_build_component_ref.
655 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
656 (objc_is_property_ref): New.
657 * c-common.c (c_common_reswords): Removed copies and ivar.
658 * stub-objc.c (objc_add_property_declaration): Removed arguments
660 (objc_build_getter_call): Renamed to
661 objc_maybe_build_component_ref.
662 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
663 (objc_is_property_ref): New.
665 2010-10-29 Arnaud Charlet <charlet@adacore.com>
666 Matthew Gingell <gingell@adacore.com>
668 * c-ada-spec.c (separate_class_package): New function.
669 (pp_ada_tree_identifier): Prefix references to C++ classes with the
670 name of their enclosing package.
671 (print_ada_declaration): Use separate_class_package.
673 2010-10-27 Jason Merrill <jason@redhat.com>
675 * c-common.c (c_common_reswords): Add __is_literal_type.
676 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
678 * c-common.c (check_case_value): Remove special C++ code.
680 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
682 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
683 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
685 (objc_add_property_declaration): Added additional arguments.
686 (objc_property_attribute_kind): Removed.
687 (objc_set_property_attr): Removed.
688 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
690 * stub-objc.c (objc_add_property_declaration): Added additional
692 (objc_set_property_attr): Removed.
694 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
696 * c-common.h (objc_add_property_variable): Renamed to
697 objc_add_property_declaration. Added location argument.
698 * stub-objc.c (objc_add_property_variable): Same change.
700 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
702 * c-common.h (objc_maybe_printable_name): New.
703 * stub-objc.c (objc_maybe_printable_name): New.
705 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
706 Andrew Pinski <pinskia@gmail.com>
708 * c-common.h (c_common_mark_addressable_vec): Declare.
709 * c-common.c (c_common_mark_addressable_vec): New function.
711 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
713 * c-common.h (objc_set_method_type): Removed.
714 (objc_add_method_declaration): Added boolean argument.
715 (objc_start_method_definition): Same change.
716 (objc_build_method_signature): Same change.
717 * stub-objc.c (objc_set_method_type): Removed.
718 (objc_add_method_declaration): Added boolean argument.
719 (objc_start_method_definition): Same change.
720 (objc_build_method_signature): Same change.
722 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
724 * c-common.h (finish_file): Removed.
725 (objc_write_global_declarations): New.
726 * c-opts.c (c_common_parse_file): Do not call finish_file.
727 * stub-objc.c (objc_write_global_declarations): New.
729 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
731 Implemented parsing @synthesize and @dynamic for
732 Objective-C/Objective-C++.
733 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
734 (objc_add_synthesize_declaration): New.
735 (objc_add_dynamic_declaration): New.
736 * c-common.c (c_common_reswords): Add synthesize and dynamic.
737 * stub-objc.c (objc_add_synthesize_declaration): New.
738 (objc_add_dynamic_declaration): New.
740 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
743 * c-cppbuiltin.c (mode_has_fma): Move function here from
744 builtins.c. Don't use the fma optab, instead just use the
745 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
748 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
750 Merge from 'apple/trunk' branch on FSF servers.
752 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
755 * c-common.h (objc_non_volatilized_type): New declaration
756 * stub-objc.c (objc_non_volatilized_type): New stub.
758 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
760 Merge from 'apple/trunk' branch on FSF servers.
762 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
765 * c-common.h (objc_diagnose_private_ivar): New decl.
766 * stub-objc.c (objc_diagnose_private_ivar): New stub.
768 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
770 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
771 * c-common.h (enum rid): Add RID_AT_PACKAGE.
772 (objc_ivar_visibility_kind): New enum.
773 (objc_set_visibility): Adjust prototype to use visibility enum.
774 * stub-objc.c (objc_set_visibility): Adjust stub to use
777 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
779 * c-cppbuiltin.c (builtin_define_float_constants): Emit
780 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
781 has the appropriate fma builtins.
782 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
784 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
786 merge from FSF apple 'trunk' branch.
787 2006 Fariborz Jahanian <fjahanian@apple.com>
789 Radars 4436866, 4505126, 4506903, 4517826
790 * c-common.c (c_common_resword): Define @property and its attributes.
791 * c-common.h: Define property attribute enum entries.
792 (OBJC_IS_PATTR_KEYWORD): New.
793 (objc_property_attribute_kind): New enum.
794 Declare objc_set_property_attr (), objc_add_property_variable (),
795 objc_build_getter_call () and objc_build_setter_call ().
796 * stub-objc.c (objc_set_property_attr): New stub.
797 (objc_add_property_variable): Likewise.
798 (objc_build_getter_call): Likewise.
799 (objc_build_setter_call) Likewise.
801 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
803 merge from FSF apple 'trunk' branch.
804 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
806 Radar 3803157 (method attributes)
807 * c-common.c (handle_deprecated_attribute): Recognize
808 objc methods as valid declarations.
809 * c-common.h: Declare objc_method_decl ().
810 * stub-objc.c (objc_method_decl): New stub.
812 2010-10-08 Joseph Myers <joseph@codesourcery.com>
814 * c-common.c (parse_optimize_options): Call
815 decode_cmdline_options_to_array_default_mask before
816 decode_options. Update arguments to decode_options.
817 * c-common.h (c_common_init_options_struct): Declare.
818 * c-opts.c (c_common_init_options_struct): New. Split out from
819 c_common_init_options.
821 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
823 Implemented fast enumeration for Objective-C.
824 * c-common.h (objc_finish_foreach_loop): New.
825 * stub-objc.c (objc_finish_foreach_loop): New.
827 2010-10-05 Joseph Myers <joseph@codesourcery.com>
829 * c-common.h (struct diagnostic_context): Don't declare here.
830 (c_common_initialize_diagnostics): Declare using
831 diagnostic_context typedef.
832 * c-opts.c (c_common_handle_option): Pass global_dc to
833 handle_generated_option.
835 2010-10-04 Joseph Myers <joseph@codesourcery.com>
837 * c-opts.c (c_common_handle_option): Pass &global_options_set to
838 handle_generated_option.
840 2010-10-03 Ian Lance Taylor <iant@google.com>
842 * c.opt (-fplan9-extensions): New option.
844 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
846 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
848 (c_cpp_builtins): Call functions from cppbuiltin.c instead
851 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
853 * c-common.c: Add two new entries for @optional
854 and @required keywords.
856 merge from FSF 'apple/trunk' branch.
857 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
860 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
861 objective-c keywords.
862 (objc_set_method_opt): New declaration.
863 * stub-objc.c (objc_set_method_opt): New stub.
865 2010-09-30 Joseph Myers <joseph@codesourcery.com>
867 * c-common.c (handle_optimize_attribute): Pass &global_options to
868 cl_optimization_save and cl_optimization_restore.
869 * c-opts.c (c_common_handle_option): Pass &global_options to
870 handle_generated_option.
871 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
872 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
873 &global_options to cl_optimization_restore.
875 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
877 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
878 Objective-C/Objective-C++ keywords.
880 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
882 Merge from 'apple/trunk' branch on FSF servers.
884 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
887 * c-common.h (objc_check_global_decl): New declaration.
888 * stub-objc.c (objc_check_global_decl): New stub.
890 2010-09-29 Joseph Myers <joseph@codesourcery.com>
892 * c.opt: Don't use VarExists.
894 2010-09-29 Joseph Myers <joseph@codesourcery.com>
896 * c-common.c (c_cpp_error): Update names of diagnostic_context
898 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
899 cl_optimization members.
900 * c-opts.c (warning_as_error_callback, c_common_handle_option,
901 sanitize_cpp_opts, finish_options): Update names of cpp_options
904 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
906 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
907 (objc_is_reserved_word): Removed.
908 * c-common.c: Updated comments.
909 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
910 objc_is_reserved_word.
911 * stub-objc.c (objc_is_reserved_word): Removed.
913 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
915 * c-common.h (objc_add_method_declaration): Adjust prototype to
917 (objc_start_method_definition): Likewise.
918 (objc_build_keyword_decl): Likewise.
919 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
920 (objc_start_method_definition): Likewise.
921 (objc_build_keyword_decl): Likewise.
923 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
925 * c-common.h (objc_start_class_interface): Adjust prototype.
926 (objc_start_category_interface): Likewise.
927 (objc_start_protocol): Likewise.
928 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
929 (objc_start_class_interface): Likewise.
930 (objc_start_category_interface): Likewise.
932 2010-09-27 Ian Lance Taylor <iant@google.com>
934 * c-common.c (c_common_attribute_table): Add no_split_stack.
935 (handle_no_split_stack_attribute): New static function.
937 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
939 Merge from 'apple/trunk' branch on FSF servers.
941 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
944 * c-common.h (objc_have_common_type): New declaration.
945 * stub-objc.c (objc_have_common_type): New stub.
947 2005-06-22 Ziemowit Laski <zlaski@apple.com>
950 * c-common.h (objc_common_type): New prototype.
951 * stub-objc.c (objc_common_type): New stub.
953 2010-09-24 Jan Hubicka <jh@suse.cz>
955 * c-common.c (handle_leaf_attribute): New function.
956 (struct attribute_spec c_common_att): Add leaf.
958 2010-09-22 Joseph Myers <joseph@codesourcery.com>
960 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
961 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
962 -dump, -dump=, -imacros, -imacros=, -include, -include=,
963 -include-barrier, -include-directory, -include-directory=,
964 -include-directory-after, -include-directory-after=,
965 -include-prefix, -include-prefix=, -include-with-prefix,
966 -include-with-prefix=, -include-with-prefix-after,
967 -include-with-prefix-after=, -include-with-prefix-before,
968 -include-with-prefix-before=, -no-integrated-cpp,
969 -no-line-commands, -no-standard-includes, -no-warnings, -output,
970 -output=, -pedantic, -pedantic-errors, -preprocess,
971 -print-missing-file-dependencies, -trace-includes, -traditional,
972 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
973 -user-dependencies, -verbose, -write-dependencies,
974 -write-user-dependencies, no-integrated-cpp, traditional): New.
976 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
979 * c-common.h (objc_start_method_definition): Return bool instead
981 * stub-objc.c (objc_start_method_definition): Return bool instead
984 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
987 * c-common.h (objc_get_interface_ivars): New declaration.
988 * stub-objc.c (objc_get_interface_ivars): New stub.
990 2010-09-15 Ian Lance Taylor <iant@google.com>
992 * c-common.c (parse_optimize_options): Do not capitalize warning
993 messages. Remove period at end of warning message.
995 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
997 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
998 (handle_alias_attribute): ... here.
999 (handle_ifunc_attribute): New.
1001 2010-09-06 Mark Mitchell <mark@codesourcery.com>
1003 * c-common.h (do_warn_double_promotion): Declare.
1004 * c-common.c (do_warn_double_promotion): Define.
1006 2010-09-05 Mark Mitchell <mark@codesourcery.com>
1008 * c.opt (Wdouble-promotion): New.
1010 2010-09-02 Joseph Myers <joseph@codesourcery.com>
1012 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1013 fvtable-thunks, fxref): Mark no longer supported in help text.
1015 2010-09-02 Joseph Myers <joseph@codesourcery.com>
1017 * c.opt (Wimport, fall-virtual, falt-external-templates,
1018 fdefault-inline, fenum-int-equiv, fexternal-templates,
1019 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1020 fname-mangling-version-, fnew-abi, fnonnull-objects,
1021 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1022 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1024 (fhandle-exceptions): Mark with Alias and Warn.
1025 * c-opts.c (c_common_handle_option): Don't handle options marked
1028 2010-09-02 Joseph Myers <joseph@codesourcery.com>
1030 * c.opt (Wcomments, Werror-implicit-function-declaration,
1031 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1032 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1034 * c-common.c (option_codes): Use OPT_Wcomment instead of
1036 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1037 Don't handle options marked as aliases.
1039 2010-08-25 Richard Guenther <rguenther@suse.de>
1041 * c-common.c (c_common_get_alias_set): Remove special
1042 handling for pointers.
1044 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1046 * c-common.c: Use FOR_EACH_VEC_ELT.
1047 * c-gimplify.c: Likewise.
1048 * c-pragma.c: Likewise.
1050 2010-08-16 Joseph Myers <joseph@codesourcery.com>
1052 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1054 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1056 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1057 instead of OPT_MDX and OPT_MMDX.
1059 2010-08-16 Joseph Myers <joseph@codesourcery.com>
1061 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1063 2010-08-12 Joseph Myers <joseph@codesourcery.com>
1065 * c.opt (MD, MMD): Change to MDX and MMDX.
1066 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1068 2010-08-11 Joseph Myers <joseph@codesourcery.com>
1070 * c-opts.c (c_common_handle_option): Call handle_generated_option
1071 instead of handle_option.
1073 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1075 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1076 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1078 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1080 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1081 (pending_redefine_extname): Change type to a VEC.
1082 (add_to_renaming_pragma_list): Update for new type of
1083 pending_redefine_extname.
1084 (maybe_apply_renaming_pragma): Likewise.
1086 2010-08-04 Arnaud Charlet <charlet@adacore.com>
1088 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1090 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1091 decide whether a type has already been declared/seen.
1092 Do not go to the original type.
1093 (dump_nested_types): New parameter forward.
1094 Generate forward declaration if needed and mark type as visited.
1095 (print_ada_declaration): Call dump_nested_types if not already done.
1096 Mark types as visited.
1098 2010-08-03 Joseph Myers <joseph@codesourcery.com>
1100 * c.opt (-print-pch-checksum): Remove option.
1101 * c-opts.c (c_common_handle_option): Don't handle
1102 OPT_print_pch_checksum.
1104 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1106 * c-common.h (c_common_handle_option): Update prototype and return
1108 * c-opts.c (c_common_handle_option): Update prototype and return
1109 value type. Update calls to handle_option and
1110 enable_warning_as_error.
1112 2010-07-27 Jakub Jelinek <jakub@redhat.com>
1115 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1117 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1119 * c-common.h (c_common_missing_argument): Remove.
1120 * c-opts.c (c_common_missing_argument): Remove.
1121 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1122 idirafter, imacros, include, isysroot, isystem, iquote): Add
1124 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1126 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1128 * c-common.h (c_common_option_lang_mask,
1129 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1131 (c_common_init_options): Update prototype.
1132 * c-opts.c (c_common_option_lang_mask): New.
1133 (c_common_initialize_diagnostics): Split out of
1134 c_common_init_options.
1135 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1137 (c_common_init_options): Update prototype. Use decoded options in
1138 search for -lang-asm.
1140 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1142 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1143 * c-format.c: Likewise.
1145 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1147 * c-common.h: Include diagnostic-core.h. Error if already
1149 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1151 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1153 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1154 Do not include expr.h
1155 (vector_mode_valid_p): Move here.
1157 2010-06-21 DJ Delorie <dj@redhat.com>
1159 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1160 allow these pragmas anywhere.
1162 2010-06-14 Jakub Jelinek <jakub@redhat.com>
1165 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1166 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1167 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1168 ggc_strdup instead of xstrdup.
1170 2010-06-10 Jakub Jelinek <jakub@redhat.com>
1172 * c-cppbuiltin.c: Include cpp-id-data.h.
1173 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1174 (lazy_hex_fp_value): New function.
1175 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1177 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1179 * c-gimplify.c: Do not include tree-flow.h
1181 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1184 * c-common.c: Rename targetm member:
1185 targetm.enum_va_list -> targetm.enum_va_list_p
1187 2010-06-28 Anatoly Sokolov <aesok@post.ru>
1189 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1191 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1193 * c-cppbuiltin.c: Do not include except.h.
1195 2010-06-24 Andi Kleen <ak@linux.intel.com>
1197 * c-common.c (warn_for_omitted_condop): New.
1198 * c-common.h (warn_for_omitted_condop): Add prototype.
1200 2010-06-21 Joseph Myers <joseph@codesourcery.com>
1202 * c.opt (lang-objc): Remove.
1203 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1205 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1207 * c-opts.c: Include "tm_p.h".
1209 2010-06-20 Joseph Myers <joseph@codesourcery.com>
1211 * c-common.c (parse_optimize_options): Update call to
1214 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1216 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1217 new type of types_used_by_cur_var_decl.
1219 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1222 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1223 for C++ standard compliance.
1225 2010-06-16 Jason Merrill <jason@redhat.com>
1227 * c.opt: Add -Wnoexcept.
1229 2010-06-16 Richard Guenther <rguenther@suse.de>
1232 * c-common.c (c_common_truthvalue_conversion): Remove
1233 premature and wrong optimization concering ADDR_EXPRs.
1235 2010-06-15 Arnaud Charlet <charlet@adacore.com>
1237 * c-ada-spec.c (dump_sloc): Remove column info.
1238 (is_simple_enum): New function.
1239 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1240 enum types when relevant.
1242 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1244 * c-common.c (conversion_warning): Warn at expression
1247 2010-06-10 Joseph Myers <joseph@codesourcery.com>
1249 * c-opts.c (c_common_handle_option): Don't handle
1252 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1254 * c-pragma.c (push_alignment): Use typed GC allocation.
1255 (handle_pragma_push_options): Likewise.
1257 * c-common.c (parse_optimize_options): Likewise.
1259 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1262 2010-06-07 Joseph Myers <joseph@codesourcery.com>
1264 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1265 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1266 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1267 flag_signed_bitfields, warn_strict_null_sentinel,
1268 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1269 flag_gen_declaration, flag_no_gnu_keywords,
1270 flag_implement_inlines, flag_implicit_templates,
1271 flag_implicit_inline_templates, flag_optional_diags,
1272 flag_elide_constructors, flag_default_inline, flag_rtti,
1273 flag_conserve_space, flag_access_control, flag_check_new,
1274 flag_new_for_scope, flag_weak, flag_working_directory,
1275 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1276 flag_enforce_eh_specs, flag_threadsafe_statics,
1277 flag_pretty_templates): Remove.
1278 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1279 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1280 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1281 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1282 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1283 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1284 flag_no_gnu_keywords, flag_implement_inlines,
1285 flag_implicit_templates, flag_implicit_inline_templates,
1286 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1287 flag_rtti, flag_conserve_space, flag_access_control,
1288 flag_check_new, flag_new_for_scope, flag_weak,
1289 flag_working_directory, flag_use_cxa_atexit,
1290 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1291 flag_threadsafe_statics, flag_pretty_templates,
1292 warn_strict_null_sentinel): Remove.
1293 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1294 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1295 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1296 fimplicit-inline-templates, fimplicit-templates,
1297 flax-vector-conversions, fms-extensions, fnil-receivers,
1298 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1299 frtti, fshort-double, fshort-enums, fshort-wchar,
1300 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1301 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1302 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1303 gen-decls, undef): Use Var.
1304 (fdefault-inline, foptional-diags): Document as doing nothing.
1305 * c-opts.c (c_common_handle_option): Remove cases for options now
1306 using Var. Mark ignored options as such.
1308 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1310 * c-common.c: Moved to here from parent directory.
1311 * c-common.def: Likewise.
1312 * c-common.h: Likewise.
1313 * c-cppbuiltin.c: Likewise.
1314 * c-dump.c: Likewise.
1315 * c-format.c: Likewise.
1316 * c-format.h : Likewise.
1317 * c-gimplify.c: Likewise.
1318 * c-lex.c: Likewise.
1319 * c-omp.c: Likewise.
1321 * c-opts.c: Likewise.
1322 * c-pch.c: Likewise.
1323 * c-ppoutput.c: Likewise.
1324 * c-pragma.c: Likewise.
1325 * c-pragma.h: Likewise.
1326 * c-pretty-print.c: Likewise.
1327 * c-pretty-print.h: Likewise.
1328 * c-semantics.c: Likewise.
1329 * stub-objc.c: Likewise.
1331 * c-common.c: Include gt-c-family-c-common.h.
1332 * c-pragma.c: Include gt-c-family-c-pragma.h.
1334 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1336 Copying and distribution of this file, with or without modification,
1337 are permitted in any medium without royalty provided the copyright
1338 notice and this notice are preserved.