ia32: Change the command line switch "nooptcc" to "optcc".
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 6 Dec 2012 05:25:32 +0000 (06:25 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 6 Dec 2012 05:35:47 +0000 (06:35 +0100)
Avoid negative switches.

ir/be/ia32/ia32_architecture.c

index 7fea384..730edb9 100644 (file)
@@ -242,7 +242,7 @@ static const lc_opt_table_entry_t ia32_architecture_options[] = {
        LC_OPT_ENT_ENUM_INT("arch",             "select the instruction architecture",                &arch_var),
        LC_OPT_ENT_ENUM_INT("opt",              "optimize for instruction architecture",              &opt_arch_var),
        LC_OPT_ENT_ENUM_INT("fpunit",           "select the floating point unit",                     &fp_unit_var),
-       LC_OPT_ENT_NEGBOOL ("nooptcc",          "do not optimize calling convention",                 &opt_cc),
+       LC_OPT_ENT_BOOL    ("optcc",            "optimize calling convention",                        &opt_cc),
        LC_OPT_ENT_BOOL    ("unsafe_floatconv", "do unsafe floating point controlword optimisations", &opt_unsafe_floatconv),
        LC_OPT_ENT_BOOL    ("machcode",         "output machine code instead of assembler",           &emit_machcode),
        LC_OPT_LAST