From 9aaa9e894a57c0a9b30b6a0bbdaceb293f41798e Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Wed, 19 Oct 2011 13:20:22 +0000 Subject: [PATCH] [multiple changes] 2011-10-19 Roland Stigge PR translation/48638 * plugin.c (add_new_plugin): Fix typo in fatal_error message. 2011-10-19 Roland Stigge PR translation/49517 * config/rx/rx.c (rx_print_operand): Fix typo in warning message. /cp 2011-10-19 Roland Stigge PR translation/49704 * semantics.c (potential_constant_expression_1): Use "AST" instead of "ast" in sorry message. From-SVN: r180188 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/rx/rx.c | 2 +- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/semantics.c | 2 +- gcc/plugin.c | 4 ++-- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba3f7073b3a..3eb106f78f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2011-10-19 Roland Stigge + + PR translation/48638 + * plugin.c (add_new_plugin): Fix typo in fatal_error message. + +2011-10-19 Roland Stigge + + PR translation/49517 + * config/rx/rx.c (rx_print_operand): Fix typo in warning message. + 2011-10-19 Richard Guenther PR middle-end/50768 diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 6ff9418c9d8..c9720eb3e15 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -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; diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 375c808dc38..3b5c14c0077 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2011-10-19 Roland Stigge + + PR translation/49704 + * semantics.c (potential_constant_expression_1): Use "AST" instead of + "ast" in sorry message. + 2011-10-19 Paolo Carlini PR c++/38761 diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 32024135a6d..42195be4a81 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -8341,7 +8341,7 @@ potential_constant_expression_1 (tree t, bool want_rval, tsubst_flags_t flags) 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; } diff --git a/gcc/plugin.c b/gcc/plugin.c index 3906bffc68b..63d1cae4ede 100644 --- a/gcc/plugin.c +++ b/gcc/plugin.c @@ -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 -- 2.11.4.GIT