Commit 1737c953 by Joseph Myers Committed by Joseph Myers

gcc.c, [...]: Use American spelling in messages.

	* gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
	American spelling in messages.
	* po/gcc.pot: Regenerate.

ch:
	* decl.c, parse.c, typeck.c: Use American spelling in messages.

cp:
	* lang-options.h: Use American spelling in messages.

From-SVN: r48047
parent 56deb74c
2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
American spelling in messages.
* po/gcc.pot: Regenerate.
2001-12-15 Kazu Hirata <kazu@hxi.com> 2001-12-15 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Adjust whitespacing. Remove * config/h8300/h8300.md: Adjust whitespacing. Remove
......
2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
* decl.c, parse.c, typeck.c: Use American spelling in messages.
2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk> 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
* chill.texi: Don't condition menus on @ifinfo. * chill.texi: Don't condition menus on @ifinfo.
......
...@@ -1056,7 +1056,7 @@ do_decl (name, type, is_static, lifetime_bound, opt_init, opt_external) ...@@ -1056,7 +1056,7 @@ do_decl (name, type, is_static, lifetime_bound, opt_init, opt_external)
if (CH_TYPE_NONVALUE_P (type)) if (CH_TYPE_NONVALUE_P (type))
{ {
error_with_decl (decl, error_with_decl (decl,
"no initialisation allowed for `%s'"); "no initialization allowed for `%s'");
temp = NULL_TREE; temp = NULL_TREE;
} }
else if (TREE_CODE (type) == REFERENCE_TYPE) else if (TREE_CODE (type) == REFERENCE_TYPE)
......
...@@ -961,7 +961,7 @@ parse_loc_declaration (in_spec_module) ...@@ -961,7 +961,7 @@ parse_loc_declaration (in_spec_module)
ignoring = save_ignoring; ignoring = save_ignoring;
} }
if (init_value == NULL_TREE && loc_decl && pass == 1) if (init_value == NULL_TREE && loc_decl && pass == 1)
error ("loc-identity declaration without initialisation"); error ("loc-identity declaration without initialization");
do_decls (names, mode, do_decls (names, mode,
is_static || global_bindings_p () is_static || global_bindings_p ()
/* the variable becomes STATIC if all_static_flag is set and /* the variable becomes STATIC if all_static_flag is set and
......
...@@ -3441,12 +3441,12 @@ smash_dummy_type (type) ...@@ -3441,12 +3441,12 @@ smash_dummy_type (type)
} }
else if (TREE_CODE (origin) == RECORD_TYPE) else if (TREE_CODE (origin) == RECORD_TYPE)
{ {
error ("parameterised structures not implemented"); error ("parameterized structures not implemented");
return error_mark_node; return error_mark_node;
} }
else else
{ {
error ("invalid parameterised type"); error ("invalid parameterized type");
return error_mark_node; return error_mark_node;
} }
......
...@@ -476,7 +476,7 @@ fr30_print_operand (file, x, code) ...@@ -476,7 +476,7 @@ fr30_print_operand (file, x, code)
/* Compute the register name of the second register in a hi/lo /* Compute the register name of the second register in a hi/lo
register pair. */ register pair. */
if (GET_CODE (x) != REG) if (GET_CODE (x) != REG)
output_operand_lossage ("fr30_print_operand: unrecognised %p code"); output_operand_lossage ("fr30_print_operand: unrecognized %p code");
else else
fprintf (file, "r%d", REGNO (x) + 1); fprintf (file, "r%d", REGNO (x) + 1);
return; return;
...@@ -496,7 +496,7 @@ fr30_print_operand (file, x, code) ...@@ -496,7 +496,7 @@ fr30_print_operand (file, x, code)
case GTU: fprintf (file, "hi"); break; case GTU: fprintf (file, "hi"); break;
case GEU: fprintf (file, "nc"); break; case GEU: fprintf (file, "nc"); break;
default: default:
output_operand_lossage ("fr30_print_operand: unrecognised %b code"); output_operand_lossage ("fr30_print_operand: unrecognized %b code");
break; break;
} }
return; return;
...@@ -517,7 +517,7 @@ fr30_print_operand (file, x, code) ...@@ -517,7 +517,7 @@ fr30_print_operand (file, x, code)
case GTU: fprintf (file, "ls"); break; case GTU: fprintf (file, "ls"); break;
case GEU: fprintf (file, "c"); break; case GEU: fprintf (file, "c"); break;
default: default:
output_operand_lossage ("fr30_print_operand: unrecognised %B code"); output_operand_lossage ("fr30_print_operand: unrecognized %B code");
break; break;
} }
return; return;
......
...@@ -163,7 +163,7 @@ ghs_pragma_section (pfile) ...@@ -163,7 +163,7 @@ ghs_pragma_section (pfile)
else if (streq (sect, "zbss")) kind = GHS_SECTION_KIND_ZDATA; else if (streq (sect, "zbss")) kind = GHS_SECTION_KIND_ZDATA;
else else
{ {
warning ("unrecognised section name \"%s\"", sect); warning ("unrecognized section name \"%s\"", sect);
return; return;
} }
......
2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
* lang-options.h: Use American spelling in messages.
2001-12-13 Jason Merrill <jason@redhat.com> 2001-12-13 Jason Merrill <jason@redhat.com>
* Make-lang.in (parse.h): Separate rule, just depend on parse.c. * Make-lang.in (parse.h): Separate rule, just depend on parse.c.
......
...@@ -61,7 +61,7 @@ DEFINE_LANG_NAME ("C++") ...@@ -61,7 +61,7 @@ DEFINE_LANG_NAME ("C++")
N_("Scope of for-init-statement vars extends outside") }, N_("Scope of for-init-statement vars extends outside") },
{ "-fgnu-keywords", "" }, { "-fgnu-keywords", "" },
{ "-fno-gnu-keywords", { "-fno-gnu-keywords",
N_("Do not recognise GNU defined keywords") }, N_("Do not recognize GNU defined keywords") },
{ "-fhandle-exceptions", "" }, { "-fhandle-exceptions", "" },
{ "-fno-handle-exceptions", "" }, { "-fno-handle-exceptions", "" },
{ "-fhuge-objects", { "-fhuge-objects",
...@@ -84,7 +84,7 @@ DEFINE_LANG_NAME ("C++") ...@@ -84,7 +84,7 @@ DEFINE_LANG_NAME ("C++")
N_("Don't pedwarn about uses of Microsoft extensions") }, N_("Don't pedwarn about uses of Microsoft extensions") },
{ "-fno-ms-extensions", "" }, { "-fno-ms-extensions", "" },
{ "-foperator-names", { "-foperator-names",
N_("Recognise and/bitand/bitor/compl/not/or/xor") }, N_("Recognize and/bitand/bitor/compl/not/or/xor") },
{ "-fno-operator-names", "" }, { "-fno-operator-names", "" },
{ "-foptional-diags", "" }, { "-foptional-diags", "" },
{ "-fno-optional-diags", { "-fno-optional-diags",
...@@ -137,7 +137,7 @@ DEFINE_LANG_NAME ("C++") ...@@ -137,7 +137,7 @@ DEFINE_LANG_NAME ("C++")
N_("Warn when the compiler reorders code") }, N_("Warn when the compiler reorders code") },
{ "-Wno-reorder", "" }, { "-Wno-reorder", "" },
{ "-Wsynth", { "-Wsynth",
N_("Warn when synthesis behaviour differs from Cfront") }, N_("Warn when synthesis behavior differs from Cfront") },
{ "-Wno-synth", "" }, { "-Wno-synth", "" },
{ "-Wpmf-conversions", "" }, { "-Wpmf-conversions", "" },
{ "-Wno-pmf-conversions", { "-Wno-pmf-conversions",
......
...@@ -3067,7 +3067,7 @@ display_help () ...@@ -3067,7 +3067,7 @@ display_help ()
fputs (_("\ fputs (_("\
-x <language> Specify the language of the following input files\n\ -x <language> Specify the language of the following input files\n\
Permissable languages include: c c++ assembler none\n\ Permissable languages include: c c++ assembler none\n\
'none' means revert to the default behaviour of\n\ 'none' means revert to the default behavior of\n\
guessing the language based on the file's extension\n\ guessing the language based on the file's extension\n\
"), stdout); "), stdout);
...@@ -5027,7 +5027,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) ...@@ -5027,7 +5027,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
/* Catch the case where a spec string contains something like /* Catch the case where a spec string contains something like
'%{foo:%*}'. ie there is no * in the pattern on the left '%{foo:%*}'. ie there is no * in the pattern on the left
hand side of the :. */ hand side of the :. */
error ("spec failure: '%%*' has not been initialised by pattern match"); error ("spec failure: '%%*' has not been initialized by pattern match");
break; break;
/* Process a string found as the value of a spec given by name. /* Process a string found as the value of a spec given by name.
...@@ -5179,7 +5179,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) ...@@ -5179,7 +5179,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
break; break;
default: default:
error ("spec failure: unrecognised spec option '%c'", c); error ("spec failure: unrecognized spec option '%c'", c);
break; break;
} }
break; break;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -997,11 +997,11 @@ lang_independent_options f_options[] = ...@@ -997,11 +997,11 @@ lang_independent_options f_options[] =
{"cse-skip-blocks", &flag_cse_skip_blocks, 1, {"cse-skip-blocks", &flag_cse_skip_blocks, 1,
N_("When running CSE, follow conditional jumps") }, N_("When running CSE, follow conditional jumps") },
{"expensive-optimizations", &flag_expensive_optimizations, 1, {"expensive-optimizations", &flag_expensive_optimizations, 1,
N_("Perform a number of minor, expensive optimisations") }, N_("Perform a number of minor, expensive optimizations") },
{"thread-jumps", &flag_thread_jumps, 1, {"thread-jumps", &flag_thread_jumps, 1,
N_("Perform jump threading optimisations") }, N_("Perform jump threading optimizations") },
{"strength-reduce", &flag_strength_reduce, 1, {"strength-reduce", &flag_strength_reduce, 1,
N_("Perform strength reduction optimisations") }, N_("Perform strength reduction optimizations") },
{"unroll-loops", &flag_unroll_loops, 1, {"unroll-loops", &flag_unroll_loops, 1,
N_("Perform loop unrolling when iteration count is known") }, N_("Perform loop unrolling when iteration count is known") },
{"unroll-all-loops", &flag_unroll_all_loops, 1, {"unroll-all-loops", &flag_unroll_all_loops, 1,
...@@ -1015,7 +1015,7 @@ lang_independent_options f_options[] = ...@@ -1015,7 +1015,7 @@ lang_independent_options f_options[] =
{"writable-strings", &flag_writable_strings, 1, {"writable-strings", &flag_writable_strings, 1,
N_("Store strings in writable data section") }, N_("Store strings in writable data section") },
{"peephole", &flag_no_peephole, 0, {"peephole", &flag_no_peephole, 0,
N_("Enable machine specific peephole optimisations") }, N_("Enable machine specific peephole optimizations") },
{"force-mem", &flag_force_mem, 1, {"force-mem", &flag_force_mem, 1,
N_("Copy memory operands into registers before using") }, N_("Copy memory operands into registers before using") },
{"force-addr", &flag_force_addr, 1, {"force-addr", &flag_force_addr, 1,
...@@ -1049,9 +1049,9 @@ lang_independent_options f_options[] = ...@@ -1049,9 +1049,9 @@ lang_independent_options f_options[] =
{"gcse-sm", &flag_gcse_sm, 1, {"gcse-sm", &flag_gcse_sm, 1,
N_("Perform store motion after global subexpression elimination") }, N_("Perform store motion after global subexpression elimination") },
{"rerun-cse-after-loop", &flag_rerun_cse_after_loop, 1, {"rerun-cse-after-loop", &flag_rerun_cse_after_loop, 1,
N_("Run CSE pass after loop optimisations") }, N_("Run CSE pass after loop optimizations") },
{"rerun-loop-opt", &flag_rerun_loop_opt, 1, {"rerun-loop-opt", &flag_rerun_loop_opt, 1,
N_("Run the loop optimiser twice") }, N_("Run the loop optimizer twice") },
{"delete-null-pointer-checks", &flag_delete_null_pointer_checks, 1, {"delete-null-pointer-checks", &flag_delete_null_pointer_checks, 1,
N_("Delete useless null pointer checks") }, N_("Delete useless null pointer checks") },
{"pretend-float", &flag_pretend_float, 1, {"pretend-float", &flag_pretend_float, 1,
...@@ -1104,9 +1104,9 @@ lang_independent_options f_options[] = ...@@ -1104,9 +1104,9 @@ lang_independent_options f_options[] =
{"verbose-asm", &flag_verbose_asm, 1, {"verbose-asm", &flag_verbose_asm, 1,
N_("Add extra commentry to assembler output") }, N_("Add extra commentry to assembler output") },
{"gnu-linker", &flag_gnu_linker, 1, {"gnu-linker", &flag_gnu_linker, 1,
N_("Output GNU ld formatted global initialisers") }, N_("Output GNU ld formatted global initializers") },
{"regmove", &flag_regmove, 1, {"regmove", &flag_regmove, 1,
N_("Enables a register move optimisation") }, N_("Enables a register move optimization") },
{"optimize-register-move", &flag_regmove, 1, {"optimize-register-move", &flag_regmove, 1,
N_("Do the full regmove optimization pass") }, N_("Do the full regmove optimization pass") },
{"pack-struct", &flag_pack_struct, 1, {"pack-struct", &flag_pack_struct, 1,
...@@ -1211,10 +1211,10 @@ documented_lang_options[] = ...@@ -1211,10 +1211,10 @@ documented_lang_options[] =
{ "-fasm", "" }, { "-fasm", "" },
{ "-fno-asm", { "-fno-asm",
N_("Do not recognise the 'asm' keyword") }, N_("Do not recognize the 'asm' keyword") },
{ "-fbuiltin", "" }, { "-fbuiltin", "" },
{ "-fno-builtin", { "-fno-builtin",
N_("Do not recognise any built in functions") }, N_("Do not recognize any built in functions") },
{ "-fhosted", { "-fhosted",
N_("Assume normal C execution environment") }, N_("Assume normal C execution environment") },
{ "-fno-hosted", "" }, { "-fno-hosted", "" },
...@@ -1297,7 +1297,7 @@ documented_lang_options[] = ...@@ -1297,7 +1297,7 @@ documented_lang_options[] =
N_("Warn about suspicious declarations of main") }, N_("Warn about suspicious declarations of main") },
{ "-Wno-main", "" }, { "-Wno-main", "" },
{ "-Wmissing-braces", { "-Wmissing-braces",
N_("Warn about possibly missing braces around initialisers") }, N_("Warn about possibly missing braces around initializers") },
{ "-Wno-missing-braces", "" }, { "-Wno-missing-braces", "" },
{ "-Wmissing-declarations", { "-Wmissing-declarations",
N_("Warn about global funcs without previous declarations") }, N_("Warn about global funcs without previous declarations") },
...@@ -3578,8 +3578,8 @@ display_help () ...@@ -3578,8 +3578,8 @@ display_help ()
f_options[i].string, _(description)); f_options[i].string, _(description));
} }
printf (_(" -O[number] Set optimisation level to [number]\n")); printf (_(" -O[number] Set optimization level to [number]\n"));
printf (_(" -Os Optimise for space rather than speed\n")); printf (_(" -Os Optimize for space rather than speed\n"));
for (i = LAST_PARAM; i--;) for (i = LAST_PARAM; i--;)
{ {
const char *description = compiler_params[i].help; const char *description = compiler_params[i].help;
......
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