Commit 9cabb1d8 by Kazu Hirata Committed by Kazu Hirata

* toplev.c: Fix formatting.

From-SVN: r53276
parent 6b9b5de2
2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
* toplev.c: Fix formatting.
2002-05-07 Janis Johnson <janis187@us.ibm.com> 2002-05-07 Janis Johnson <janis187@us.ibm.com>
* config.in (ENABLE_RTL_FLAG_CHECKING): New. * config.in (ENABLE_RTL_FLAG_CHECKING): New.
......
...@@ -1344,7 +1344,7 @@ static const struct ...@@ -1344,7 +1344,7 @@ static const struct
const int value; const int value;
const char *const description; const char *const description;
} }
target_switches [] = TARGET_SWITCHES; target_switches[] = TARGET_SWITCHES;
/* This table is similar, but allows the switch to have a value. */ /* This table is similar, but allows the switch to have a value. */
...@@ -1355,7 +1355,7 @@ static const struct ...@@ -1355,7 +1355,7 @@ static const struct
const char **const variable; const char **const variable;
const char *const description; const char *const description;
} }
target_options [] = TARGET_OPTIONS; target_options[] = TARGET_OPTIONS;
#endif #endif
/* Options controlling warnings. */ /* Options controlling warnings. */
...@@ -2624,7 +2624,7 @@ rest_of_compilation (decl) ...@@ -2624,7 +2624,7 @@ rest_of_compilation (decl)
open_dump_file (DFI_ssa_dce, decl); open_dump_file (DFI_ssa_dce, decl);
insns = get_insns (); insns = get_insns ();
ssa_eliminate_dead_code(); ssa_eliminate_dead_code ();
close_dump_file (DFI_ssa_dce, print_rtl_with_bb, insns); close_dump_file (DFI_ssa_dce, print_rtl_with_bb, insns);
timevar_pop (TV_SSA_DCE); timevar_pop (TV_SSA_DCE);
...@@ -2914,7 +2914,7 @@ rest_of_compilation (decl) ...@@ -2914,7 +2914,7 @@ rest_of_compilation (decl)
cleanup_cfg (CLEANUP_EXPENSIVE); cleanup_cfg (CLEANUP_EXPENSIVE);
if (flag_if_conversion) if (flag_if_conversion)
if_convert (0); if_convert (0);
timevar_pop(TV_IFCVT); timevar_pop (TV_IFCVT);
timevar_pop (TV_JUMP); timevar_pop (TV_JUMP);
/* CFG is no longer maintained up-to-date. */ /* CFG is no longer maintained up-to-date. */
...@@ -3523,7 +3523,7 @@ display_help () ...@@ -3523,7 +3523,7 @@ display_help ()
{ {
const char *description = f_options[i].description; const char *description = f_options[i].description;
if (description != NULL && * description != 0) if (description != NULL && *description != 0)
printf (" -f%-21s %s\n", printf (" -f%-21s %s\n",
f_options[i].string, _(description)); f_options[i].string, _(description));
} }
...@@ -3533,9 +3533,9 @@ display_help () ...@@ -3533,9 +3533,9 @@ display_help ()
for (i = LAST_PARAM; i--;) for (i = LAST_PARAM; i--;)
{ {
const char *description = compiler_params[i].help; const char *description = compiler_params[i].help;
const int length = 21-strlen(compiler_params[i].option); const int length = 21 - strlen (compiler_params[i].option);
if (description != NULL && * description != 0) if (description != NULL && *description != 0)
printf (" --param %s=<value>%.*s%s\n", printf (" --param %s=<value>%.*s%s\n",
compiler_params[i].option, compiler_params[i].option,
length > 0 ? length : 1, " ", length > 0 ? length : 1, " ",
...@@ -3550,7 +3550,7 @@ display_help () ...@@ -3550,7 +3550,7 @@ display_help ()
{ {
const char *description = W_options[i].description; const char *description = W_options[i].description;
if (description != NULL && * description != 0) if (description != NULL && *description != 0)
printf (" -W%-21s %s\n", printf (" -W%-21s %s\n",
W_options[i].string, _(description)); W_options[i].string, _(description));
} }
...@@ -3676,7 +3676,7 @@ display_target_options () ...@@ -3676,7 +3676,7 @@ display_target_options ()
if (extra_warnings) if (extra_warnings)
printf (_(" -m%-23.23s [undocumented]\n"), option); printf (_(" -m%-23.23s [undocumented]\n"), option);
} }
else if (* description != 0) else if (*description != 0)
doc += printf (" -m%-23.23s %s\n", option, _(description)); doc += printf (" -m%-23.23s %s\n", option, _(description));
} }
...@@ -3695,7 +3695,7 @@ display_target_options () ...@@ -3695,7 +3695,7 @@ display_target_options ()
if (extra_warnings) if (extra_warnings)
printf (_(" -m%-23.23s [undocumented]\n"), option); printf (_(" -m%-23.23s [undocumented]\n"), option);
} }
else if (* description != 0) else if (*description != 0)
doc += printf (" -m%-23.23s %s\n", option, _(description)); doc += printf (" -m%-23.23s %s\n", option, _(description));
} }
#endif #endif
...@@ -3925,7 +3925,7 @@ static int ...@@ -3925,7 +3925,7 @@ static int
decode_g_option (arg) decode_g_option (arg)
const char *arg; const char *arg;
{ {
static unsigned level=0; static unsigned level = 0;
/* A lot of code assumes write_symbols == NO_DEBUG if the /* A lot of code assumes write_symbols == NO_DEBUG if the
debugging level is 0 (thus -gstabs1 -gstabs0 would lose track debugging level is 0 (thus -gstabs1 -gstabs0 would lose track
of what debugging type has been selected). This records the of what debugging type has been selected). This records the
...@@ -5142,7 +5142,7 @@ toplev_main (argc, argv) ...@@ -5142,7 +5142,7 @@ toplev_main (argc, argv)
hex_init (); hex_init ();
/* Initialization of GCC's environment, and diagnostics. */ /* Initialization of GCC's environment, and diagnostics. */
general_init (argv [0]); general_init (argv[0]);
/* Parse the options and do minimal processing; basically just /* Parse the options and do minimal processing; basically just
enough to default flags appropriately. */ enough to default flags appropriately. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment