Hi,
a bunch of trivial fixes from Roland. The only one I deem *slightly*
more controversial is "AST" uppercase instead of "ast" in
cp/semantics.c, I'm gonna wait a bit in case Jason has a different
opinion...
Thanks,
Paolo.
////////////////////
2011-10-19 Roland Stigge <sti...@antcom.de>
PR translation/48638
* plugin.c (add_new_plugin): Fix typo in fatal_error message.
2011-10-19 Roland Stigge <sti...@antcom.de>
PR translation/49517
* config/rx/rx.c (rx_print_operand): Fix typo in warning message.
/cp
2011-10-19 Roland Stigge <sti...@antcom.de>
PR translation/49704
* semantics.c (potential_constant_expression_1): Use AST instead of
ast in sorry message.
Index: cp/semantics.c
===================================================================
--- cp/semantics.c (revision 180185)
+++ cp/semantics.c (working copy)
@@ -8341,7 +8341,7 @@ potential_constant_expression_1 (tree t, bool want
return false;
default:
- sorry ("unexpected ast of kind %s", tree_code_name[TREE_CODE (t)]);
+ sorry ("unexpected AST of kind %s", tree_code_name[TREE_CODE (t)]);
gcc_unreachable();
return false;
}
Index: plugin.c
===================================================================
--- plugin.c (revision 180181)
+++ plugin.c (working copy)
@@ -1,5 +1,5 @@
/* Support for GCC plugin mechanism.
- Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC.
@@ -149,7 +149,7 @@ add_new_plugin (const char* plugin_name)
plugin_name, ".so", NULL);
if (access (plugin_name, R_OK))
fatal_error
- ("inacessible plugin file %s expanded from short plugin name %s: %m",
+ ("inaccessible plugin file %s expanded from short plugin name %s: %m",
plugin_name, base_name);
}
else
Index: config/rx/rx.c
===================================================================
--- config/rx/rx.c (revision 180181)
+++ config/rx/rx.c (working copy)
@@ -637,7 +637,7 @@ rx_print_operand (FILE * file, rtx op, int letter)
case 0xb: fprintf (file, "fintv"); break;
case 0xc: fprintf (file, "intb"); break;
default:
- warning (0, "unreocgnized control register number: %d - using 'psw'",
+ warning (0, "unrecognized control register number: %d - using 'psw'",
(int) INTVAL (op));
fprintf (file, "psw");
break;