Commit 4dbba876 by Richard Kenner Committed by Richard Kenner

toplev.c (documented_lang_options): Correct spelling error.

	* toplev.c (documented_lang_options): Correct spelling error.
	(decode_d_option, decode_f_option, main): Likewise.

	* toplev.c (print_time): Avoid SIGFPE when all_time is zero.

From-SVN: r32181
parent 2eecbd3f
Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* toplev.c (documented_lang_options): Correct spelling error.
(decode_d_option, decode_f_option, main): Likewise.
* toplev.c (print_time): Avoid SIGFPE when all_time is zero.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
to tell assembler it is permitted to expand large constants. to tell assembler it is permitted to expand large constants.
......
...@@ -1115,7 +1115,7 @@ documented_lang_options[] = ...@@ -1115,7 +1115,7 @@ documented_lang_options[] =
{ "-Wno-sign-compare", "" }, { "-Wno-sign-compare", "" },
{ "-Wfloat-equal", "Warn about testing equality of floating point numbers" }, { "-Wfloat-equal", "Warn about testing equality of floating point numbers" },
{ "-Wno-float-equal", "" }, { "-Wno-float-equal", "" },
{ "-Wunknown-pragmas", "Warn about unrecognised pragmas" }, { "-Wunknown-pragmas", "Warn about unrecognized pragmas" },
{ "-Wno-unknown-pragmas", "" }, { "-Wno-unknown-pragmas", "" },
{ "-Wstrict-prototypes", "Warn about non-prototyped function decls" }, { "-Wstrict-prototypes", "Warn about non-prototyped function decls" },
{ "-Wno-strict-prototypes", "" }, { "-Wno-strict-prototypes", "" },
...@@ -1425,7 +1425,7 @@ print_time (str, total) ...@@ -1425,7 +1425,7 @@ print_time (str, total)
fprintf (stderr, fprintf (stderr,
"time in %s: %d.%06d (%.0f%%)\n", "time in %s: %d.%06d (%.0f%%)\n",
str, total / 1000000, total % 1000000, str, total / 1000000, total % 1000000,
(double)total / (double)all_time * 100.0); all_time == 0 ? 0.00 : (double) total / (double) all_time * 100.0);
} }
/* This is the default decl_printable_name function. */ /* This is the default decl_printable_name function. */
...@@ -4103,7 +4103,7 @@ decode_d_option (arg) ...@@ -4103,7 +4103,7 @@ decode_d_option (arg)
case 'I': case 'I':
break; break;
default: default:
warning ("unrecognised gcc debugging option: %c", arg[-1]); warning ("unrecognized gcc debugging option: %c", arg[-1]);
break; break;
} }
} }
...@@ -4179,7 +4179,7 @@ decode_f_option (arg) ...@@ -4179,7 +4179,7 @@ decode_f_option (arg)
stack_limit_rtx = NULL_RTX; stack_limit_rtx = NULL_RTX;
else if (!strcmp (arg, "preprocessed")) else if (!strcmp (arg, "preprocessed"))
/* Recognise this switch but do nothing. This prevents warnings /* Recognise this switch but do nothing. This prevents warnings
about an unrecognised switch if cpplib has not been linked in. */ about an unrecognized switch if cpplib has not been linked in. */
; ;
else else
return 0; return 0;
...@@ -4758,7 +4758,7 @@ main (argc, argv) ...@@ -4758,7 +4758,7 @@ main (argc, argv)
} }
} }
else else
error ("Unrecognised option `%s'", argv[i]); error ("Unrecognized option `%s'", argv[i]);
i++; i++;
} }
......
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