From patchwork Fri Oct 17 08:30:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Glisse X-Patchwork-Id: 400446 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0188A1400DD for ; Fri, 17 Oct 2014 19:30:54 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=Fxj2ukN+J4hh53AybfYxMaWrZk3QhJc+4tX3TAkB8XVM64N67YCs4 xzB6GtydgFjiSAzOQsbQsd1szZ/m7NcW1EPVIStTGbiF198D9Tyadi+gTZx5Vp4l jY++9J4nhF1uqfJDdYXsVIxUfPXI+qseJqAHTh+itx25kJ6KM2458Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=0k/Xi4IGq//V4d1NPXf7fx34qJE=; b=UwDz86oFPGLfRSz7FzKZ QAxGoGgiD9PAQGefZUrz2EKGNoaeBXzCxC1YVjqHcIK5owjdxxhgvmCx2hDLVv9u bdRG5sNEWIT72XNHAEDWMurlL2I9x4V7oNV0SV/98LqIq2n8LFauwuVNpxJOrzGR X0SUA2EGoiOMtHbPm/aFo+o= Received: (qmail 20646 invoked by alias); 17 Oct 2014 08:30:47 -0000 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 Received: (qmail 20625 invoked by uid 89); 17 Oct 2014 08:30:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 17 Oct 2014 08:30:45 +0000 Received: from stedding.saclay.inria.fr (HELO stedding) ([193.55.250.194]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 17 Oct 2014 10:30:42 +0200 Received: from glisse (helo=localhost) by stedding with local-esmtp (Exim 4.84) (envelope-from ) id 1Xf2vq-0000qU-JG for gcc-patches@gcc.gnu.org; Fri, 17 Oct 2014 10:30:42 +0200 Date: Fri, 17 Oct 2014 10:30:42 +0200 (CEST) From: Marc Glisse To: gcc-patches@gcc.gnu.org Subject: Pasto in is_old_name: s/new_ssa_names/old_ssa_names/g Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Hello, this trivial fix was pre-approved by Richard, I regtested and committed it. 2014-10-17 Marc Glisse * tree-into-ssa.c (is_old_name): Replace "new" with "old". --- tree-into-ssa.c (revision 216366) +++ tree-into-ssa.c (working copy) @@ -572,23 +572,23 @@ set_livein_block (tree var, basic_block info->need_phi_state = NEED_PHI_STATE_MAYBE; } /* Return true if NAME is in OLD_SSA_NAMES. */ static inline bool is_old_name (tree name) { unsigned ver = SSA_NAME_VERSION (name); - if (!new_ssa_names) + if (!old_ssa_names) return false; - return (ver < SBITMAP_SIZE (new_ssa_names) + return (ver < SBITMAP_SIZE (old_ssa_names) && bitmap_bit_p (old_ssa_names, ver)); } /* Return true if NAME is in NEW_SSA_NAMES. */ static inline bool is_new_name (tree name) { unsigned ver = SSA_NAME_VERSION (name);