2010-09-27 Ian Lance Taylor * c-common.c (c_common_attribute_table): Add no_split_stack. (handle_no_split_stack_attribute): New static function. 2010-09-27 Nicola Pero Merge from 'apple/trunk' branch on FSF servers. 2005-12-15 Fariborz Jahanian Radar 4229905 * c-common.h (objc_have_common_type): New declaration. * stub-objc.c (objc_have_common_type): New stub. 2005-06-22 Ziemowit Laski Radar 4154928 * c-common.h (objc_common_type): New prototype. * stub-objc.c (objc_common_type): New stub. 2010-09-24 Jan Hubicka * c-common.c (handle_leaf_attribute): New function. (struct attribute_spec c_common_att): Add leaf. 2010-09-22 Joseph Myers * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments, -comments-in-macros, -define-macro, -define-macro=, -dependencies, -dump, -dump=, -imacros, -imacros=, -include, -include=, -include-barrier, -include-directory, -include-directory=, -include-directory-after, -include-directory-after=, -include-prefix, -include-prefix=, -include-with-prefix, -include-with-prefix=, -include-with-prefix-after, -include-with-prefix-after=, -include-with-prefix-before, -include-with-prefix-before=, -no-integrated-cpp, -no-line-commands, -no-standard-includes, -no-warnings, -output, -output=, -pedantic, -pedantic-errors, -preprocess, -print-missing-file-dependencies, -trace-includes, -traditional, -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=, -user-dependencies, -verbose, -write-dependencies, -write-user-dependencies, no-integrated-cpp, traditional): New. 2010-09-21 Nicola Pero PR objc/23710 * c-common.h (objc_start_method_definition): Return bool instead of void. * stub-objc.c (objc_start_method_definition): Return bool instead of void. 2010-09-21 Nicola Pero PR objc/25965 * c-common.h (objc_get_interface_ivars): New declaration. * stub-objc.c (objc_get_interface_ivars): New stub. 2010-09-15 Ian Lance Taylor * c-common.c (parse_optimize_options): Do not capitalize warning messages. Remove period at end of warning message. 2010-09-09 Nathan Sidwell * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... (handle_alias_attribute): ... here. (handle_ifunc_attribute): New. 2010-09-06 Mark Mitchell * c-common.h (do_warn_double_promotion): Declare. * c-common.c (do_warn_double_promotion): Define. 2010-09-05 Mark Mitchell * c.opt (Wdouble-promotion): New. 2010-09-02 Joseph Myers * c.opt (falt-external-templates, fhuge-objects, fvtable-gc, fvtable-thunks, fxref): Mark no longer supported in help text. 2010-09-02 Joseph Myers * c.opt (Wimport, fall-virtual, falt-external-templates, fdefault-inline, fenum-int-equiv, fexternal-templates, fguiding-decls, fhonor-std, fhuge-objects, flabels-ok, fname-mangling-version-, fnew-abi, fnonnull-objects, foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable, fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as applicable. (fhandle-exceptions): Mark with Alias and Warn. * c-opts.c (c_common_handle_option): Don't handle options marked as ignored. 2010-09-02 Joseph Myers * c.opt (Wcomments, Werror-implicit-function-declaration, ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x, std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as aliases. * c-common.c (option_codes): Use OPT_Wcomment instead of OPT_Wcomments. * c-opts.c (warning_as_error_callback, c_common_handle_option): Don't handle options marked as aliases. 2010-08-25 Richard Guenther * c-common.c (c_common_get_alias_set): Remove special handling for pointers. 2010-08-20 Nathan Froyd * c-common.c: Use FOR_EACH_VEC_ELT. * c-gimplify.c: Likewise. * c-pragma.c: Likewise. 2010-08-16 Joseph Myers * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of RejectDriver. (MMDX): Change back to MMD. Mark NoDriverArg instead of RejectDriver. * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD instead of OPT_MDX and OPT_MMDX. 2010-08-16 Joseph Myers * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver. 2010-08-12 Joseph Myers * c.opt (MD, MMD): Change to MDX and MMDX. * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX. 2010-08-11 Joseph Myers * c-opts.c (c_common_handle_option): Call handle_generated_option instead of handle_option. 2010-08-08 Nathan Froyd * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. (maybe_apply_renaming_pragma): Delete unneeded declarations. 2010-08-08 Nathan Froyd * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it. (pending_redefine_extname): Change type to a VEC. (add_to_renaming_pragma_list): Update for new type of pending_redefine_extname. (maybe_apply_renaming_pragma): Likewise. 2010-08-04 Arnaud Charlet * c-ada-spec.c (dump_ada_template): Mark underlying instance type as visited. (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to decide whether a type has already been declared/seen. Do not go to the original type. (dump_nested_types): New parameter forward. Generate forward declaration if needed and mark type as visited. (print_ada_declaration): Call dump_nested_types if not already done. Mark types as visited. 2010-08-03 Joseph Myers * c.opt (-print-pch-checksum): Remove option. * c-opts.c (c_common_handle_option): Don't handle OPT_print_pch_checksum. 2010-07-27 Joseph Myers * c-common.h (c_common_handle_option): Update prototype and return value type. * c-opts.c (c_common_handle_option): Update prototype and return value type. Update calls to handle_option and enable_warning_as_error. 2010-07-27 Jakub Jelinek PR c/45079 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR. 2010-07-27 Joseph Myers * c-common.h (c_common_missing_argument): Remove. * c-opts.c (c_common_missing_argument): Remove. * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, idirafter, imacros, include, isysroot, isystem, iquote): Add MissingArgError. * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. 2010-07-27 Joseph Myers * c-common.h (c_common_option_lang_mask, c_common_initialize_diagnostics, c_common_complain_wrong_lang_p): New. (c_common_init_options): Update prototype. * c-opts.c (c_common_option_lang_mask): New. (c_common_initialize_diagnostics): Split out of c_common_init_options. (accept_all_c_family_options, c_common_complain_wrong_lang_p): New. (c_common_init_options): Update prototype. Use decoded options in search for -lang-asm. 2010-07-15 Nathan Froyd * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN. * c-format.c: Likewise. 2010-07-08 Manuel López-Ibáñez * c-common.h: Include diagnostic-core.h. Error if already included. * c-semantics.c: Do not define GCC_DIAG_STYLE here. 2010-07-03 Manuel López-Ibáñez * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef. Do not include expr.h (vector_mode_valid_p): Move here. 2010-06-21 DJ Delorie * c-pragma.c (handle_pragma_diagnostic): Add push/pop, allow these pragmas anywhere. 2010-06-14 Jakub Jelinek PR bootstrap/44509 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use ggc_strdup instead of xstrdup. 2010-06-10 Jakub Jelinek * c-cppbuiltin.c: Include cpp-id-data.h. (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. (lazy_hex_fp_value): New function. (builtin_define_with_hex_fp_value): Provide definitions lazily. 2010-06-30 Manuel López-Ibáñez * c-gimplify.c: Do not include tree-flow.h 2010-06-29 Joern Rennecke PR other/44034 * c-common.c: Rename targetm member: targetm.enum_va_list -> targetm.enum_va_list_p 2010-06-28 Anatoly Sokolov * c-common.c (shorten_compare): Adjust call to force_fit_type_double. 2010-06-28 Steven Bosscher * c-cppbuiltin.c: Do not include except.h. 2010-06-24 Andi Kleen * c-common.c (warn_for_omitted_condop): New. * c-common.h (warn_for_omitted_condop): Add prototype. 2010-06-21 Joseph Myers * c.opt (lang-objc): Remove. * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc. 2010-06-21 Joern Rennecke * c-opts.c: Include "tm_p.h". 2010-06-20 Joseph Myers * c-common.c (parse_optimize_options): Update call to decode_options. 2010-06-18 Nathan Froyd * c-common.c (record_types_used_by_current_var_decl): Adjust for new type of types_used_by_cur_var_decl. 2010-06-17 Joern Rennecke PR bootstrap/44512 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast for C++ standard compliance. 2010-06-16 Jason Merrill * c.opt: Add -Wnoexcept. 2010-06-16 Richard Guenther PR c/44555 * c-common.c (c_common_truthvalue_conversion): Remove premature and wrong optimization concering ADDR_EXPRs. 2010-06-15 Arnaud Charlet * c-ada-spec.c (dump_sloc): Remove column info. (is_simple_enum): New function. (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada enum types when relevant. 2010-06-11 Manuel López-Ibáñez * c-common.c (conversion_warning): Warn at expression location. 2010-06-10 Joseph Myers * c-opts.c (c_common_handle_option): Don't handle OPT_fshow_column. 2010-06-08 Laurynas Biveinis * c-pragma.c (push_alignment): Use typed GC allocation. (handle_pragma_push_options): Likewise. * c-common.c (parse_optimize_options): Likewise. * c-common.h (struct sorted_fields_type): Add variable_size GTY option. 2010-06-07 Joseph Myers * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin, flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, flag_signed_bitfields, warn_strict_null_sentinel, flag_nil_receivers, flag_zero_link, flag_replace_objc_classes, flag_gen_declaration, flag_no_gnu_keywords, flag_implement_inlines, flag_implicit_templates, flag_implicit_inline_templates, flag_optional_diags, flag_elide_constructors, flag_default_inline, flag_rtti, flag_conserve_space, flag_access_control, flag_check_new, flag_new_for_scope, flag_weak, flag_working_directory, flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, flag_threadsafe_statics, flag_pretty_templates): Remove. * c-common.h (flag_preprocess_only, flag_nil_receivers, flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link, flag_replace_objc_classes, flag_undef, flag_no_builtin, flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, flag_const_strings, flag_signed_bitfields, flag_gen_declaration, flag_no_gnu_keywords, flag_implement_inlines, flag_implicit_templates, flag_implicit_inline_templates, flag_optional_diags, flag_elide_constructors, flag_default_inline, flag_rtti, flag_conserve_space, flag_access_control, flag_check_new, flag_new_for_scope, flag_weak, flag_working_directory, flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, flag_threadsafe_statics, flag_pretty_templates, warn_strict_null_sentinel): Remove. * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm, fbuiltin, fcheck-new, fconserve-space, felide-constructors, fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines, fimplicit-inline-templates, fimplicit-templates, flax-vector-conversions, fms-extensions, fnil-receivers, fnonansi-builtins, fpretty-templates, freplace-objc-classes, frtti, fshort-double, fshort-enums, fshort-wchar, fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics, funsigned-bitfields, funsigned-char, fuse-cxa-atexit, fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link, gen-decls, undef): Use Var. (fdefault-inline, foptional-diags): Document as doing nothing. * c-opts.c (c_common_handle_option): Remove cases for options now using Var. Mark ignored options as such. 2010-06-05 Steven Bosscher * c-common.c: Moved to here from parent directory. * c-common.def: Likewise. * c-common.h: Likewise. * c-cppbuiltin.c: Likewise. * c-dump.c: Likewise. * c-format.c: Likewise. * c-format.h : Likewise. * c-gimplify.c: Likewise. * c-lex.c: Likewise. * c-omp.c: Likewise. * c.opt: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.c: Likewise. * c-pragma.h: Likewise. * c-pretty-print.c: Likewise. * c-pretty-print.h: Likewise. * c-semantics.c: Likewise. * stub-objc.c: Likewise. * c-common.c: Include gt-c-family-c-common.h. * c-pragma.c: Include gt-c-family-c-pragma.h. Copyright (C) 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.