From patchwork Fri Jul 2 20:00:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 57771 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 A53791007D4 for ; Sat, 3 Jul 2010 06:00:57 +1000 (EST) Received: (qmail 10504 invoked by alias); 2 Jul 2010 20:00:56 -0000 Received: (qmail 10495 invoked by uid 22791); 2 Jul 2010 20:00:55 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, TW_CC, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jul 2010 20:00:51 +0000 Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id o62K0m9o024120 for ; Fri, 2 Jul 2010 13:00:48 -0700 Received: from pxi18 (pxi18.prod.google.com [10.243.27.18]) by kpbe14.cbf.corp.google.com with ESMTP id o62K0kxT002639 for ; Fri, 2 Jul 2010 13:00:47 -0700 Received: by pxi18 with SMTP id 18so220967pxi.4 for ; Fri, 02 Jul 2010 13:00:46 -0700 (PDT) Received: by 10.114.60.5 with SMTP id i5mr1617103waa.165.1278100846539; Fri, 02 Jul 2010 13:00:46 -0700 (PDT) Received: from coign.google.com (dhcp-172-22-126-240.mtv.corp.google.com [172.22.126.240]) by mx.google.com with ESMTPS id d39sm15396507wam.16.2010.07.02.13.00.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 13:00:45 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: [gcco] Remove unused variable Date: Fri, 02 Jul 2010 13:00:39 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-System-Of-Record: true 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 I accidentally committed code which defines a global variable which is unused. This was part of an earlier version of the panic/recover support. This patch removes the unused variable. Committed to gccgo branch. Ian diff -r 2865bd85baee libgo/Makefile.am --- a/libgo/Makefile.am Fri Jul 02 12:48:17 2010 -0700 +++ b/libgo/Makefile.am Fri Jul 02 12:57:07 2010 -0700 @@ -282,7 +282,6 @@ runtime/go-construct-map.c \ runtime/go-convert-interface.c \ runtime/go-defer.c \ - runtime/go-defer-stack.c \ runtime/go-deferred-recover.c \ runtime/go-getgoroot.c \ runtime/go-go.c \ diff -r 2865bd85baee libgo/runtime/go-defer-stack.c --- a/libgo/runtime/go-defer-stack.c Fri Jul 02 12:48:17 2010 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -/* go-defer-stack.c -- The defer stack. - - Copyright 2010 The Go Authors. All rights reserved. - Use of this source code is governed by a BSD-style - license that can be found in the LICENSE file. */ - -#include "go-defer.h" - -__thread struct __defer_stack *__go_defer_stack;