From patchwork Wed Sep 5 16:36:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diego Novillo X-Patchwork-Id: 181899 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 91D7B2C0094 for ; Thu, 6 Sep 2012 02:36:58 +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=1347467818; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Date:From:To:Subject: Message-ID:MIME-Version:Content-Type:Content-Disposition: User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=/hS//Ou /FCj03uFwhExDWv0Yk8c=; b=mDZHuDUfbMv1KSFDRQLSPaRYOyMNDXivn3FZfs4 Ei+AQvd/SJXIV1QhNB4v696BY9ST2Xm0d9m3c4UBDNuItGSRz6CRY+M4Rdb89w4N feyFBrHjUjisUW7dqX/keXciOERBdv/vdSt9KHC7boS/Q9m7E65rg3sTeieGJ40E EtQ4= 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:X-Google-DKIM-Signature:Received:Received:Received:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=wvJRI6vNAVU3n91XNbUOWYVJm9d4jDWMWwGMqfBaSRumoov1TtZqoeXSiKh/p+ mhbnRTZ1Fe68/7fOVt1/RP6A0Zd5E867Zlj3zlfCEQ8CQRlI52Y+A0ICniCo54zo 8pCwqHTNcdRBinD8+U5iqS/ruVBAsTuhfoZKlNS2BB3/E=; Received: (qmail 29739 invoked by alias); 5 Sep 2012 16:36:53 -0000 Received: (qmail 29595 invoked by uid 22791); 5 Sep 2012 16:36:51 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-qa0-f73.google.com (HELO mail-qa0-f73.google.com) (209.85.216.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Sep 2012 16:36:38 +0000 Received: by qats34 with SMTP id s34so84415qat.2 for ; Wed, 05 Sep 2012 09:36:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:organization:user-agent:x-gm-message-state; bh=e6/VlYxCrt70cLuzR5O0W+kT6oooq0SwdAaU/6cN9VM=; b=XB7YNxkrQHNV3+WJI9C3p0e20AwyiKI11EjueK1oflRQ88Ntwu76eebBaOryYx1GEl q6eBIvfviwNS5LSJeg9vTkyJwST01QryyHSFU1tQ/EdqxhPsXKrwb8gJFp3C/HQcUnap lgtOAtyTWODhZX+AUlEld8tep9sFn4fWMwga2HE2vHNRNInt2CEtMeObz836cF0TqwCq 8TNMW5bbVRuPvhmHWGaKjgAQhqrPxuhoM8WdkEYRVSmx2Ttr4svbD4e+fTUiCLKqky42 bmj47o1U0rnpFWM+mO+sv2+XjtcHIOmmz9GTUjvJh21XmBHuR6vU8ANuC8TEyTwpsALk eUIQ== Received: by 10.236.193.40 with SMTP id j28mr14089482yhn.21.1346862998083; Wed, 05 Sep 2012 09:36:38 -0700 (PDT) Received: by 10.236.193.40 with SMTP id j28mr14089472yhn.21.1346862996866; Wed, 05 Sep 2012 09:36:36 -0700 (PDT) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id c61si573484yhm.3.2012.09.05.09.36.36 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 05 Sep 2012 09:36:36 -0700 (PDT) Received: from torture.tor.corp.google.com (torture.tor.corp.google.com [172.29.41.4]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id C5EA8100047 for ; Wed, 5 Sep 2012 09:36:36 -0700 (PDT) Received: by torture.tor.corp.google.com (Postfix, from userid 54752) id 1AF82C0985; Wed, 5 Sep 2012 12:36:35 -0400 (EDT) Date: Wed, 5 Sep 2012 12:36:35 -0400 From: Diego Novillo To: gcc-patches@gcc.gnu.org Subject: Fix argument spelling in uninstantiated vec_t function Message-ID: <20120905163635.GA7393@google.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQkh5AUaNyui900svN0YWEsW7C+a9eoGOOa5EIm5WemdHHWtxrQ7J3CKoAU9phdn59L1vG2Xo4ih6B0TlU2mfcJWlD25qXJZX52tHjYAc2lenn+L/yA4j4TYMIObyY73+p4R+iigC2Uyp0NuVAyhiIN/xVsXi5KrfT3d6/pSIjRRrNYIdaV929N1JkOpcyCZ3ZICOpfNjhYrubssPvhZdPvJS01nrgfPvuGiJreEOlLtRrW7jIQ= 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 Caught by Clang (which also checks uninstantiated templates). PR bootstrap/54484 * vec.h (vec_t::lower_bound): Fix spelling of LESSTHAN argument. diff --git a/gcc/vec.h b/gcc/vec.h index 441c9b5..fbf95d2 100644 --- a/gcc/vec.h +++ b/gcc/vec.h @@ -1075,7 +1075,7 @@ vec_t::lower_bound (T obj, bool (*lessthan)(T, T)) const template unsigned vec_t::lower_bound (const T *ptr, - bool (*lessthan_)(const T *, const T *)) const + bool (*lessthan)(const T *, const T *)) const { unsigned int len = VEC_length (T, this); unsigned int half, middle;