From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12974 invoked by alias); 9 Dec 2009 11:41:34 -0000 Received: (qmail 12964 invoked by uid 22791); 9 Dec 2009 11:41:33 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Dec 2009 11:41:26 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 5A8EF1C15658; Wed, 9 Dec 2009 12:41:23 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 4E92690720; Wed, 9 Dec 2009 12:41:23 +0100 (CET) Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id xkLiQ1YK8CHb; Wed, 9 Dec 2009 12:41:22 +0100 (CET) Received: from igel.home (DSL01.83.171.156.136.ip-pool.NEFkom.net [83.171.156.136]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 9 Dec 2009 12:41:22 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id C36FFCA28F; Wed, 9 Dec 2009 12:41:21 +0100 (CET) From: Andreas Schwab To: Eli Zaretskii Cc: Phil Muldoon , teawater@gmail.com, gdb-patches@sourceware.org, tromey@redhat.com Subject: Re: [python][patch] And range method to type References: <4B1929DC.7070809@redhat.com> <4B1A25B0.1090903@redhat.com> <4B1E5F1C.4030202@redhat.com> <4B1F55EE.8080603@redhat.com> X-Yow: Hey!! Let's watch the' ELEVATOR go UP and DOWN at th' HILTON HOTEL!! Date: Wed, 09 Dec 2009 11:41:00 -0000 In-Reply-To: (Eli Zaretskii's message of "Wed, 09 Dec 2009 06:27:37 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-12/txt/msg00130.txt.bz2 Eli Zaretskii writes: >> > I make the cvs-head get: >> >> > cc1: warnings being treated as errors >> > ../../src/gdb/python/py-type.c: In function 'typy_range': >> > ../../src/gdb/python/py-type.c:285: warning: 'high' may be used >> > uninitialized in this function >> > ../../src/gdb/python/py-type.c:285: warning: 'low' may be used >> > uninitialized in this function >> >> I do not see this on my build at all. > > Are you compiling without optimizations, per chance? AFAIK, this > warning is only produced in optimized compilations. Recent gcc versions are also much better at tracking values. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."