This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Fix typos in error and help messages (3.3 branch)
- From: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Apr 2003 21:35:56 +0700 (ICT)
- Subject: [PATCH, committed] Fix typos in error and help messages (3.3 branch)
- Reply-to: <lerdsuwa at users dot sourceforge dot net>
Hi
This the typo-fixing patch for 3.3 branch. Patch committed as obvious.
--Kriang
2003-04-29 Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
* gcc.c (display_help): Likewise.
* toplev.c (f_options): Likewise.
* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
* config/s390/s390.h (TARGET_SWITCHES): Likewise.
* config/v850/v850.h (TARGET_SWITCHES): Likewise.
2003-04-29 Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
* lang-options.h: Likewise.
diff -cpr gcc-33-save/gcc/c-pragma.c gcc-33-new/gcc/c-pragma.c
*** gcc-33-save/gcc/c-pragma.c Thu Jul 11 20:26:41 2002
--- gcc-33-new/gcc/c-pragma.c Tue Apr 29 21:19:47 2003
*************** maybe_apply_renaming_pragma (decl, asmna
*** 447,453 ****
{
const char *oldasmname = IDENTIFIER_POINTER (oldname) + 1;
if (asmname && strcmp (TREE_STRING_POINTER (asmname), oldasmname) != 0)
! warning ("asm declaration conficts with previous rename");
asmname = build_string (strlen (oldasmname), oldasmname);
}
--- 447,453 ----
{
const char *oldasmname = IDENTIFIER_POINTER (oldname) + 1;
if (asmname && strcmp (TREE_STRING_POINTER (asmname), oldasmname) != 0)
! warning ("asm declaration conflicts with previous rename");
asmname = build_string (strlen (oldasmname), oldasmname);
}
diff -cpr gcc-33-save/gcc/config/c4x/c4x.h gcc-33-new/gcc/config/c4x/c4x.h
*** gcc-33-save/gcc/config/c4x/c4x.h Tue Mar 4 21:11:35 2003
--- gcc-33-new/gcc/config/c4x/c4x.h Tue Apr 29 21:19:47 2003
***************
*** 237,243 ****
{ "no-force", -FORCE_FLAG, \
N_("Allow RTL generation to emit invalid 3 operand insns") }, \
{ "loop-unsigned", LOOP_UNSIGNED_FLAG, \
! N_("Allow unsigned interation counts for RPTB/DB") }, \
{ "no-loop-unsigned", -LOOP_UNSIGNED_FLAG, \
N_("Disallow unsigned iteration counts for RPTB/DB") }, \
{ "preserve-float", PRESERVE_FLOAT_FLAG, \
--- 237,243 ----
{ "no-force", -FORCE_FLAG, \
N_("Allow RTL generation to emit invalid 3 operand insns") }, \
{ "loop-unsigned", LOOP_UNSIGNED_FLAG, \
! N_("Allow unsigned iteration counts for RPTB/DB") }, \
{ "no-loop-unsigned", -LOOP_UNSIGNED_FLAG, \
N_("Disallow unsigned iteration counts for RPTB/DB") }, \
{ "preserve-float", PRESERVE_FLOAT_FLAG, \
diff -cpr gcc-33-save/gcc/config/mcore/mcore.h gcc-33-new/gcc/config/mcore/mcore.h
*** gcc-33-save/gcc/config/mcore/mcore.h Thu Sep 26 20:47:59 2002
--- gcc-33-new/gcc/config/mcore/mcore.h Tue Apr 29 21:19:47 2003
*************** extern int target_flags;
*** 137,143 ****
{"relax-immediates", RELAX_IMM_BIT, \
"" }, \
{"no-relax-immediates", - RELAX_IMM_BIT, \
! N_("Do not arbitary sized immediates in bit operations") }, \
{"wide-bitfields", W_FIELD_BIT, \
N_("Always treat bit-field as int-sized") }, \
{"no-wide-bitfields", - W_FIELD_BIT, \
--- 137,143 ----
{"relax-immediates", RELAX_IMM_BIT, \
"" }, \
{"no-relax-immediates", - RELAX_IMM_BIT, \
! N_("Do not arbitrary sized immediates in bit operations") }, \
{"wide-bitfields", W_FIELD_BIT, \
N_("Always treat bit-field as int-sized") }, \
{"no-wide-bitfields", - W_FIELD_BIT, \
diff -cpr gcc-33-save/gcc/config/s390/s390.h gcc-33-new/gcc/config/s390/s390.h
*** gcc-33-save/gcc/config/s390/s390.h Sun Mar 30 00:57:53 2003
--- gcc-33-new/gcc/config/s390/s390.h Tue Apr 29 21:20:58 2003
*************** extern int target_flags;
*** 69,75 ****
{ "soft-float", -1, N_("Don't use hardware fp")}, \
{ "backchain", 2, N_("Set backchain")}, \
{ "no-backchain", -2, N_("Don't set backchain (faster, but debug harder")}, \
! { "small-exec", 4, N_("Use bras for execucable < 64k")}, \
{ "no-small-exec",-4, N_("Don't use bras")}, \
{ "debug", 8, N_("Additional debug prints")}, \
{ "no-debug", -8, N_("Don't print additional debug prints")}, \
--- 69,75 ----
{ "soft-float", -1, N_("Don't use hardware fp")}, \
{ "backchain", 2, N_("Set backchain")}, \
{ "no-backchain", -2, N_("Don't set backchain (faster, but debug harder")}, \
! { "small-exec", 4, N_("Use bras for executable < 64k")}, \
{ "no-small-exec",-4, N_("Don't use bras")}, \
{ "debug", 8, N_("Additional debug prints")}, \
{ "no-debug", -8, N_("Don't print additional debug prints")}, \
diff -cpr gcc-33-save/gcc/config/v850/v850.h gcc-33-new/gcc/config/v850/v850.h
*** gcc-33-save/gcc/config/v850/v850.h Thu Oct 3 21:48:31 2002
--- gcc-33-new/gcc/config/v850/v850.h Tue Apr 29 21:19:47 2003
*************** extern int target_flags;
*** 186,192 ****
{ "no-app-regs", MASK_NO_APP_REGS, \
N_("Do not use registers r2 and r5") }, \
{ "strict-align", MASK_STRICT_ALIGN, \
! N_("Enfore strict alignment") }, \
{ "no-strict-align", -MASK_STRICT_ALIGN, "" }, \
{ "big-switch", MASK_BIG_SWITCH, \
N_("Use 4 byte entries in switch tables") },\
--- 186,192 ----
{ "no-app-regs", MASK_NO_APP_REGS, \
N_("Do not use registers r2 and r5") }, \
{ "strict-align", MASK_STRICT_ALIGN, \
! N_("Enforce strict alignment") }, \
{ "no-strict-align", -MASK_STRICT_ALIGN, "" }, \
{ "big-switch", MASK_BIG_SWITCH, \
N_("Use 4 byte entries in switch tables") },\
diff -cpr gcc-33-save/gcc/cp/lang-options.h gcc-33-new/gcc/cp/lang-options.h
*** gcc-33-save/gcc/cp/lang-options.h Sun Dec 16 03:06:12 2001
--- gcc-33-new/gcc/cp/lang-options.h Tue Apr 29 21:19:47 2003
*************** DEFINE_LANG_NAME ("C++")
*** 72,81 ****
N_("Export functions even if they can be inlined") },
{ "-fimplicit-templates", "" },
{ "-fno-implicit-templates",
! N_("Only emit explicit template instatiations") },
{ "-fimplicit-inline-templates", "" },
{ "-fno-implicit-inline-templates",
! N_("Only emit explicit instatiations of inline templates") },
{ "-finit-priority", "" },
{ "-fno-init-priority", "" },
{ "-fmemoize-lookups", "" },
--- 72,81 ----
N_("Export functions even if they can be inlined") },
{ "-fimplicit-templates", "" },
{ "-fno-implicit-templates",
! N_("Only emit explicit template instantiations") },
{ "-fimplicit-inline-templates", "" },
{ "-fno-implicit-inline-templates",
! N_("Only emit explicit instantiations of inline templates") },
{ "-finit-priority", "" },
{ "-fno-init-priority", "" },
{ "-fmemoize-lookups", "" },
diff -cpr gcc-33-save/gcc/gcc.c gcc-33-new/gcc/gcc.c
*** gcc-33-save/gcc/gcc.c Sat Mar 15 17:01:32 2003
--- gcc-33-new/gcc/gcc.c Tue Apr 29 21:19:47 2003
*************** display_help ()
*** 2917,2923 ****
fputs (_(" -o <file> Place the output into <file>\n"), stdout);
fputs (_("\
-x <language> Specify the language of the following input files\n\
! Permissable languages include: c c++ assembler none\n\
'none' means revert to the default behavior of\n\
guessing the language based on the file's extension\n\
"), stdout);
--- 2917,2923 ----
fputs (_(" -o <file> Place the output into <file>\n"), stdout);
fputs (_("\
-x <language> Specify the language of the following input files\n\
! Permissible languages include: c c++ assembler none\n\
'none' means revert to the default behavior of\n\
guessing the language based on the file's extension\n\
"), stdout);
diff -cpr gcc-33-save/gcc/params.def gcc-33-new/gcc/params.def
*** gcc-33-save/gcc/params.def Tue Mar 18 22:29:54 2003
--- gcc-33-new/gcc/params.def Tue Apr 29 21:19:47 2003
*************** DEFPARAM (PARAM_MAX_INLINE_INSNS,
*** 94,100 ****
value specified by the "min-inline-insns" parameter. */
DEFPARAM (PARAM_MAX_INLINE_SLOPE,
"max-inline-slope",
! "The slope of the linear funtion throttling inlining after the recursive inlining limit has been reached is given by the negative reciprocal value of this parameter",
32)
/* When gcc has inlined so many instructions (by repeated
--- 94,100 ----
value specified by the "min-inline-insns" parameter. */
DEFPARAM (PARAM_MAX_INLINE_SLOPE,
"max-inline-slope",
! "The slope of the linear function throttling inlining after the recursive inlining limit has been reached is given by the negative reciprocal value of this parameter",
32)
/* When gcc has inlined so many instructions (by repeated
diff -cpr gcc-33-save/gcc/toplev.c gcc-33-new/gcc/toplev.c
*** gcc-33-save/gcc/toplev.c Tue Apr 29 21:04:22 2003
--- gcc-33-new/gcc/toplev.c Tue Apr 29 21:19:47 2003
*************** static const lang_independent_options f_
*** 1121,1127 ****
{"data-sections", &flag_data_sections, 1,
N_("place data items into their own section") },
{"verbose-asm", &flag_verbose_asm, 1,
! N_("Add extra commentry to assembler output") },
{"gnu-linker", &flag_gnu_linker, 1,
N_("Output GNU ld formatted global initializers") },
{"regmove", &flag_regmove, 1,
--- 1121,1127 ----
{"data-sections", &flag_data_sections, 1,
N_("place data items into their own section") },
{"verbose-asm", &flag_verbose_asm, 1,
! N_("Add extra commentary to assembler output") },
{"gnu-linker", &flag_gnu_linker, 1,
N_("Output GNU ld formatted global initializers") },
{"regmove", &flag_regmove, 1,
*************** static const lang_independent_options f_
*** 1149,1155 ****
{"align-functions", &align_functions, 0,
N_("Align the start of functions") },
{"merge-constants", &flag_merge_constants, 1,
! N_("Attempt to merge identical constants accross compilation units") },
{"merge-all-constants", &flag_merge_constants, 2,
N_("Attempt to merge identical constants and constant variables") },
{"dump-unnumbered", &flag_dump_unnumbered, 1,
--- 1149,1155 ----
{"align-functions", &align_functions, 0,
N_("Align the start of functions") },
{"merge-constants", &flag_merge_constants, 1,
! N_("Attempt to merge identical constants across compilation units") },
{"merge-all-constants", &flag_merge_constants, 2,
N_("Attempt to merge identical constants and constant variables") },
{"dump-unnumbered", &flag_dump_unnumbered, 1,