From patchwork Wed Oct 19 13:11:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 120627 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 0A8BBB6F89 for ; Thu, 20 Oct 2011 00:14:07 +1100 (EST) Received: (qmail 26314 invoked by alias); 19 Oct 2011 13:14:05 -0000 Received: (qmail 26306 invoked by uid 22791); 19 Oct 2011 13:14:04 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rcsinet15.oracle.com (HELO rcsinet15.oracle.com) (148.87.113.117) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Oct 2011 13:13:47 +0000 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9JDDisg001028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Oct 2011 13:13:46 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p9JD5hqa016238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Oct 2011 13:05:44 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p9JDDcAE025997; Wed, 19 Oct 2011 08:13:38 -0500 Received: from [192.168.1.4] (/79.51.25.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 19 Oct 2011 06:13:38 -0700 Message-ID: <4E9ECC88.3050104@oracle.com> Date: Wed, 19 Oct 2011 15:11:36 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Jason Merrill Subject: [translation patch] Bunch of trivial PRs: 48638, 49517, 49704 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 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. 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;