diff options
Diffstat (limited to 'gcc/c-family/c-opts.c')
-rw-r--r-- | gcc/c-family/c-opts.c | 152 |
1 files changed, 2 insertions, 150 deletions
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index 08592f58e4b..a48dea1e68d 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -395,10 +395,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, defer_opt (code, arg); break; - case OPT_E: - flag_preprocess_only = 1; - break; - case OPT_H: cpp_opts->print_include_names = 1; break; @@ -462,10 +458,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, flag_no_line_commands = 1; break; - case OPT_fworking_directory: - flag_working_directory = value; - break; - case OPT_U: defer_opt (code, arg); break; @@ -613,10 +605,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, warn_return_type = value; break; - case OPT_Wstrict_null_sentinel: - warn_strict_null_sentinel = value; - break; - case OPT_Wtraditional: cpp_opts->warn_traditional = value; break; @@ -692,18 +680,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, warning (0, "switch %qs is no longer supported", option->opt_text); break; - case OPT_faccess_control: - flag_access_control = value; - break; - - case OPT_fasm: - flag_no_asm = !value; - break; - - case OPT_fbuiltin: - flag_no_builtin = !value; - break; - case OPT_fbuiltin_: if (value) result = 0; @@ -727,70 +703,18 @@ c_common_handle_option (size_t scode, const char *arg, int value, flag_no_builtin = !value; break; - case OPT_fshort_double: - flag_short_double = value; - break; - - case OPT_fshort_enums: - flag_short_enums = value; - break; - - case OPT_fshort_wchar: - flag_short_wchar = value; - break; - - case OPT_fsigned_bitfields: - flag_signed_bitfields = value; - break; - - case OPT_fsigned_char: - flag_signed_char = value; - break; - - case OPT_funsigned_bitfields: - flag_signed_bitfields = !value; - break; - - case OPT_funsigned_char: - flag_signed_char = !value; - break; - - case OPT_fcheck_new: - flag_check_new = value; - break; - - case OPT_fconserve_space: - flag_conserve_space = value; - break; - case OPT_fconstant_string_class_: constant_string_class_name = arg; break; case OPT_fdefault_inline: - flag_default_inline = value; - break; - - case OPT_felide_constructors: - flag_elide_constructors = value; - break; - - case OPT_fenforce_eh_specs: - flag_enforce_eh_specs = value; + /* Ignore. */ break; case OPT_fextended_identifiers: cpp_opts->extended_identifiers = value; break; - case OPT_ffor_scope: - flag_new_for_scope = value; - break; - - case OPT_fgnu_keywords: - flag_no_gnu_keywords = !value; - break; - case OPT_fgnu_runtime: flag_next_runtime = !value; break; @@ -800,44 +724,16 @@ c_common_handle_option (size_t scode, const char *arg, int value, flag_exceptions = value; break; - case OPT_fimplement_inlines: - flag_implement_inlines = value; - break; - - case OPT_fimplicit_inline_templates: - flag_implicit_inline_templates = value; - break; - - case OPT_fimplicit_templates: - flag_implicit_templates = value; - break; - - case OPT_flax_vector_conversions: - flag_lax_vector_conversions = value; - break; - - case OPT_fms_extensions: - flag_ms_extensions = value; - break; - case OPT_fnext_runtime: flag_next_runtime = value; break; - case OPT_fnil_receivers: - flag_nil_receivers = value; - break; - - case OPT_fnonansi_builtins: - flag_no_nonansi_builtin = !value; - break; - case OPT_foperator_names: cpp_opts->operator_names = value; break; case OPT_foptional_diags: - flag_optional_diags = value; + /* Ignore. */ break; case OPT_fpch_deps: @@ -857,28 +753,16 @@ c_common_handle_option (size_t scode, const char *arg, int value, cpp_opts->preprocessed = value; break; - case OPT_freplace_objc_classes: - flag_replace_objc_classes = value; - break; - case OPT_frepo: flag_use_repository = value; if (value) flag_implicit_templates = 0; break; - case OPT_frtti: - flag_rtti = value; - break; - case OPT_fshow_column: cpp_opts->show_column = value; break; - case OPT_fstats: - flag_detailed_statistics = value; - break; - case OPT_ftabstop_: /* It is documented that we silently ignore silly values. */ if (value >= 1 && value <= 100) @@ -903,38 +787,10 @@ c_common_handle_option (size_t scode, const char *arg, int value, max_tinst_depth = value; break; - case OPT_fuse_cxa_atexit: - flag_use_cxa_atexit = value; - break; - - case OPT_fuse_cxa_get_exception_ptr: - flag_use_cxa_get_exception_ptr = value; - break; - case OPT_fvisibility_inlines_hidden: visibility_options.inlines_hidden = value; break; - case OPT_fweak: - flag_weak = value; - break; - - case OPT_fthreadsafe_statics: - flag_threadsafe_statics = value; - break; - - case OPT_fpretty_templates: - flag_pretty_templates = value; - break; - - case OPT_fzero_link: - flag_zero_link = value; - break; - - case OPT_gen_decls: - flag_gen_declaration = 1; - break; - case OPT_femit_struct_debug_baseonly: set_struct_debug_option ("base"); break; @@ -1094,10 +950,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, cpp_opts->traditional = 1; break; - case OPT_undef: - flag_undef = 1; - break; - case OPT_v: verbose = true; break; |