aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2003-04-29 14:16:48 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2003-04-29 14:16:48 +0000
commit8e854b762f7f6b72891784c1b4a40665ebbcde75 (patch)
tree4b529fc22b154cd30c59c6a41a28e5b12cd504b4 /gcc/cp
parentfbf17dab002ad0bf6b4d7164d09d103701533dcf (diff)
downloadgcc-8e854b762f7f6b72891784c1b4a40665ebbcde75.zip
gcc-8e854b762f7f6b72891784c1b4a40665ebbcde75.tar.gz
gcc-8e854b762f7f6b72891784c1b4a40665ebbcde75.tar.bz2
c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
* 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. * call.c (build_operator_new_call): Fix typo. * lang-options.h: Likewise. From-SVN: r66228
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/lang-options.h4
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 995f8bb..97bcb23 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
+
+ * call.c (build_operator_new_call): Fix typo.
+ * lang-options.h: Likewise.
+
2003-04-29 Mark Mitchell <mark@codesourcery.com>
* decl.c (maybe_commonize_var): Further tweak support for systems
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 947151e..2340d41 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -2959,7 +2959,7 @@ build_operator_new_call (tree fnname, tree args, tree *size, tree *cookie_size)
error ("no matching function for call to `%D(%A)'",
DECL_NAME (OVL_CURRENT (fns)), args);
else
- error ("call of overlopaded `%D(%A)' is ambiguous",
+ error ("call of overloaded `%D(%A)' is ambiguous",
DECL_NAME (OVL_CURRENT (fns)), args);
if (candidates)
print_z_candidates (candidates);
diff --git a/gcc/cp/lang-options.h b/gcc/cp/lang-options.h
index 25303de..ede5a58 100644
--- a/gcc/cp/lang-options.h
+++ b/gcc/cp/lang-options.h
@@ -72,10 +72,10 @@ DEFINE_LANG_NAME ("C++")
N_("Export functions even if they can be inlined") },
{ "-fimplicit-templates", "" },
{ "-fno-implicit-templates",
- N_("Only emit explicit template instatiations") },
+ N_("Only emit explicit template instantiations") },
{ "-fimplicit-inline-templates", "" },
{ "-fno-implicit-inline-templates",
- N_("Only emit explicit instatiations of inline templates") },
+ N_("Only emit explicit instantiations of inline templates") },
{ "-finit-priority", "" },
{ "-fno-init-priority", "" },
{ "-fmemoize-lookups", "" },