From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10663 invoked by alias); 12 Sep 2012 19:38:33 -0000 Received: (qmail 10634 invoked by uid 22791); 12 Sep 2012 19:38:33 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Sep 2012 19:38:16 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8CJcFCw006520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 Sep 2012 15:38:15 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q8CJcDKK024560 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Sep 2012 15:38:15 -0400 Message-ID: <5050E4A4.2080600@redhat.com> Date: Wed, 12 Sep 2012 19:38:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Jan Kratochvil CC: "gdb-patches@sourceware.org ml" Subject: Re: Testsuite regression gdb.cp/converts.exp [Re: [RFA] gdb/13483] References: <5041274D.1050508@redhat.com> <87ehm9evyb.fsf@fleche.redhat.com> <504E2438.6020701@redhat.com> <20120911054549.GA25093@host2.jankratochvil.net> In-Reply-To: <20120911054549.GA25093@host2.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00225.txt.bz2 On 09/10/2012 10:45 PM, Jan Kratochvil wrote: > on CentOS-5: > > Running gdb/testsuite/gdb.cp/converts.exp ... > -PASS: gdb.cp/converts.exp: continue to breakpoint: end of main > [...] > -PASS: gdb.cp/converts.exp: p foo3_2 (1,1) > +gdb compile failed, gdb/testsuite/gdb.cp/converts.cc: In function 'int main()': > +gdb/testsuite/gdb.cp/converts.cc:81: warning: the address of 'int foo1_7(bool)', will always evaluate as 'true' > +UNTESTED: gdb.cp/converts.exp: converts.exp My guess is an older compiler. Since none of these function calls is really necessary (well, one probably is necessary to make sure foo1_7 isn't optimized away), I propose just deleting the offending line. What do you think? Keith