From patchwork Fri Jul 23 09:55:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jie Zhang X-Patchwork-Id: 59761 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 3182DB70F3 for ; Fri, 23 Jul 2010 19:55:23 +1000 (EST) Received: (qmail 9269 invoked by alias); 23 Jul 2010 09:55:21 -0000 Received: (qmail 9260 invoked by uid 22791); 23 Jul 2010 09:55:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Jul 2010 09:55:15 +0000 Received: (qmail 20786 invoked from network); 23 Jul 2010 09:55:13 -0000 Received: from unknown (HELO ?192.168.1.100?) (jie@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Jul 2010 09:55:13 -0000 Message-ID: <4C4966FF.8040604@codesourcery.com> Date: Fri, 23 Jul 2010 17:55:11 +0800 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH] Fix a pasto 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 This patch fixes a pasto in GCC dumping. Is it OK? Regards, * tree-sra.c (ipa_sra_preliminary_function_checks): Dump proper words when !tree_versionable_function_p. Index: tree-sra.c =================================================================== --- tree-sra.c (revision 162448) +++ tree-sra.c (working copy) @@ -4311,7 +4311,7 @@ ipa_sra_preliminary_function_checks (str if (!tree_versionable_function_p (node->decl)) { if (dump_file) - fprintf (dump_file, "Function not local to this compilation unit.\n"); + fprintf (dump_file, "Function is not versionable.\n"); return false; }