From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5423 invoked by alias); 4 Jul 2011 16:22:37 -0000 Received: (qmail 5415 invoked by uid 22791); 4 Jul 2011 16:22:36 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate7.uk.ibm.com (HELO mtagate7.uk.ibm.com) (194.196.100.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jul 2011 16:22:21 +0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p64GMJP7032044 for ; Mon, 4 Jul 2011 16:22:19 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p64GMJLx2105446 for ; Mon, 4 Jul 2011 17:22:19 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p64GMJsf006039 for ; Mon, 4 Jul 2011 10:22:19 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p64GMIvF006024; Mon, 4 Jul 2011 10:22:18 -0600 Message-Id: <201107041622.p64GMIvF006024@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 04 Jul 2011 18:22:17 +0200 Subject: Re: [commit#2+7.3] Re: [patch 1/2] physname reg.: linespec minsym fallback To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Mon, 04 Jul 2011 16:35:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20110704142132.GA7866@host1.jankratochvil.net> from "Jan Kratochvil" at Jul 04, 2011 04:21:32 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2011-07/txt/msg00099.txt.bz2 Jan Kratochvil wrote: > On Mon, 04 Jul 2011 15:13:57 +0200, Ulrich Weigand wrote: > > On some machines (RHEL 5.6 with GCC 4.1.2 system compiler) I'm now seeing: > > > > cc1: warnings being treated as errors > > /home/kwerner/dailybuild/spu-tc-2011-07-04/gdb-head/src/gdb/linespec.c: In function 'decode_line_1': > > /home/kwerner/dailybuild/spu-tc-2011-07-04/gdb-head/src/gdb/linespec.c:928: warning: 'values.nelts' may be used uninitialized in this function > > /home/kwerner/dailybuild/spu-tc-2011-07-04/gdb-head/src/gdb/linespec.c:928: warning: 'values.sals' may be used uninitialized in this function > > > > Should there be an initializer somewhere? > > This false GCC warning I have seen when TRY_CATCH is in use like in this case. > > Curiously I failed to reproduce this warning on gcc-4.1.2-50.el5.x86_64. Huh, that's strange. I'm running on a ppc64 host if that makes any difference ... > Anyway checked in HEAD (below) and in 7.3: > http://sourceware.org/ml/gdb-cvs/2011-07/msg00055.html Great, thanks for the quick fix! Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com