From patchwork Fri Jul 20 21:33:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 172372 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 F3CBF2C030A for ; Sat, 21 Jul 2012 07:33:25 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1343424806; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Date:Message-Id:From:To:CC: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=Nnxb23aokwbZyJwyRDCK LuKPuD8=; b=qJrWlxZ2DmKouAJL1WGtKjHlTXkH753Ag7ST9gQVyM0XJt9mC9m/ CONqMjuzYZ8rzjxSM8yUOSZ1lbP0Kuz7Lun7UOQY+B6VjAO2kTp0b8Ee2ZmfQBmX Gzxsnzyrbks9mkouBxRe5csvEKsQ74TvA5KHB965LAdtnpzxTUr0o1A= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Received:Received:Date:Message-Id:From:To:CC:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=KSUPr/umhOieeNN7W4n9naa9ATOCOvJBT4zpSJvLDE+49XHiDXxlp+YgJI43cV v6QelwRZXIxdklWmJFrCct8erBhQlvl0dVUvn90vHg+kCmVQmpKACvMbovrgJcpV 3khWqcUbL2SIBC7AqPJjfjcgHO++uB3aOioPBfj4pJHP0=; Received: (qmail 13478 invoked by alias); 20 Jul 2012 21:33:21 -0000 Received: (qmail 13469 invoked by uid 22791); 20 Jul 2012 21:33:20 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_HOSTKARMA_NO, TW_SV, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Jul 2012 21:33:06 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 0637619DDB; Fri, 20 Jul 2012 23:33:04 +0200 (CEST) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Tso7+d87-ach; Fri, 20 Jul 2012 23:33:03 +0200 (CEST) Received: from thoth.se.axis.com (thoth.se.axis.com [10.0.2.173]) by anubis.se.axis.com (Postfix) with ESMTP id 75B7B19DD8; Fri, 20 Jul 2012 23:33:03 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by thoth.se.axis.com (Postfix) with ESMTP id 7386A34148; Fri, 20 Jul 2012 23:33:03 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q6KLX3d0021365; Fri, 20 Jul 2012 23:33:03 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q6KLX2Ng021361; Fri, 20 Jul 2012 23:33:02 +0200 Date: Fri, 20 Jul 2012 23:33:02 +0200 Message-Id: <201207202133.q6KLX2Ng021361@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org CC: stevenb.gcc@gmail.com Subject: Committed, CRIS: remove unused variables from cris_asm_output_ident MIME-Version: 1.0 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 Looks like these were left from Steven's ident-cleanup. Steven, for future reference, you might want to use contrib/warn_summary on the build-logs. ;) Incidentally, the magic option to increase diff context for svn is -x -U as in "-x -U5" below, just to show there's not much else in that function. Committed after a cris-elf test-run. gcc: * config/cris/cris.c (cris_asm_output_ident): Remove unused local variables section_asm_op, size, buf. brgds, H-P Index: gcc/config/cris/cris.c =================================================================== --- gcc/config/cris/cris.c (revision 189727) +++ gcc/config/cris/cris.c (working copy) @@ -2518,14 +2518,10 @@ cris_legitimate_pic_operand (rtx x) If the front-end is done, we must be being called from toplev.c. In that case, do nothing. */ void cris_asm_output_ident (const char *string) { - const char *section_asm_op; - int size; - char *buf; - if (cgraph_state != CGRAPH_STATE_PARSING) return; default_asm_output_ident_directive (string); }