From bea30e0dea2888c88064fcebc106ef1647b16897 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 29 Jan 2015 06:05:48 +0100 Subject: [PATCH] optc-save-gen.awk: flag_fp_contract_mode is no longer speical. * optc-save-gen.awk: flag_fp_contract_mode is no longer speical. * opth-gen.awk: Likewise. * common.opt: Mark flag_fp_contract_mode as Optimization. From-SVN: r220229 --- gcc/ChangeLog | 6 ++++++ gcc/common.opt | 2 +- gcc/optc-save-gen.awk | 3 +-- gcc/opth-gen.awk | 3 +-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f99bb3c322..f46d755b595 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-01-29 Jan Hubicka + + * optc-save-gen.awk: flag_fp_contract_mode is no longer speical. + * opth-gen.awk: Likewise. + * common.opt: Mark flag_fp_contract_mode as Optimization. + 2015-01-29 Bernd Edlinger * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16. diff --git a/gcc/common.opt b/gcc/common.opt index 5820c10e053..262481ff430 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1248,7 +1248,7 @@ Common Report Var(flag_forward_propagate) Optimization Perform a forward propagation pass on RTL ffp-contract= -Common Joined RejectNegative Enum(fp_contract_mode) Var(flag_fp_contract_mode) Init(FP_CONTRACT_FAST) +Common Joined RejectNegative Enum(fp_contract_mode) Var(flag_fp_contract_mode) Init(FP_CONTRACT_FAST) Optimization -ffp-contract=[off|on|fast] Perform floating-point expression contraction. Enum diff --git a/gcc/optc-save-gen.awk b/gcc/optc-save-gen.awk index 2509699bf3a..663558f8d6e 100644 --- a/gcc/optc-save-gen.awk +++ b/gcc/optc-save-gen.awk @@ -87,7 +87,7 @@ print "{"; n_opt_char = 3; n_opt_short = 0; n_opt_int = 0; -n_opt_enum = 1; +n_opt_enum = 0; n_opt_other = 0; var_opt_char[0] = "optimize"; var_opt_char[1] = "optimize_size"; @@ -95,7 +95,6 @@ var_opt_char[2] = "optimize_debug"; var_opt_range["optimize"] = "0, 255"; var_opt_range["optimize_size"] = "0, 1"; var_opt_range["optimize_debug"] = "0, 1"; -var_opt_enum[0] = "flag_fp_contract_mode"; # Sort by size to mimic how the structure is laid out to be friendlier to the # cache. diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index 473932b2ecc..44b50ab7a4a 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -135,12 +135,11 @@ print "{"; n_opt_char = 3; n_opt_short = 0; n_opt_int = 0; -n_opt_enum = 1; +n_opt_enum = 0; n_opt_other = 0; var_opt_char[0] = "unsigned char x_optimize"; var_opt_char[1] = "unsigned char x_optimize_size"; var_opt_char[2] = "unsigned char x_optimize_debug"; -var_opt_enum[0] = "enum fp_contract_mode x_flag_fp_contract_mode"; for (i = 0; i < n_opts; i++) { if (flag_set_p("Optimization", flags[i])) { -- 2.30.2