From patchwork Tue Jun 4 21:29:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 248858 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id E30E62C008A for ; Wed, 5 Jun 2013 07:29:28 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:date:content-type:mime-version; q= dns; s=default; b=hdcQE/8cHMaiP+BFPM8dJpsfhVTHSHIO/VD8Zg7o8preDU 0grgGrZHe0BnBUbO7qBOQ9ybYLIEfk+UZ+nUmGtIAVjY1RY0t8At/uBOKpCKq26R XqkoOkU8yBL0JsZCv7mT9LqgILXbv+tmXRpkMfaPX6gkslujREnz9P6usVPqI= 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 :message-id:subject:from:to:date:content-type:mime-version; s= default; bh=i4yadGToaXzA6HH5La2zKuhCe+M=; b=h3JGk2dORODsgWdVTLli 6wXlxJIwR3LHCqqpEnUN39JyXqwIRb52k7WMQ949zJ9mS8+CaFpJfc1YKI9beP24 ZOzD427v5Z/op7Y5ll8J9uouCywQdZVRwkGzS+TA14/d5XXffHkY3py2buFdJ5rh Fi1uUQWvxXLVMd1opWVgAio= Received: (qmail 322 invoked by alias); 4 Jun 2013 21:29:21 -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 312 invoked by uid 89); 4 Jun 2013 21:29:21 -0000 X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS, TW_TM autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 04 Jun 2013 21:29:20 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r54LTJDk023027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 Jun 2013 17:29:19 -0400 Received: from [10.16.189.1] (dhcp-189-1.bos.redhat.com [10.16.189.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r54LTIBV028120 for ; Tue, 4 Jun 2013 17:29:19 -0400 Message-ID: <1370381363.22768.51.camel@surprise> Subject: [PATCH] tree-ssa-structalias.c: make call_stmt_vars static From: David Malcolm To: gcc-patches@gcc.gnu.org Date: Tue, 04 Jun 2013 17:29:23 -0400 Mime-Version: 1.0 X-Virus-Found: No call_stmt_vars is only used inside of tree-ssa-structalias.c, so it can be made static. Successfully bootstrapped on x86_64-unknown-linux-gnu (using gcc-4.7.2-2.fc17.x86_64). OK for trunk? 2013-06-04 David Malcolm * tree-ssa-structalias.c (call_stmt_vars): Make static. Index: gcc/tree-ssa-structalias.c =================================================================== --- gcc/tree-ssa-structalias.c (revision 199669) +++ gcc/tree-ssa-structalias.c (working copy) @@ -382,7 +382,7 @@ /* A map mapping call statements to per-stmt variables for uses and clobbers specific to the call. */ -struct pointer_map_t *call_stmt_vars; +static struct pointer_map_t *call_stmt_vars; /* Lookup or create the variable for the call statement CALL. */