From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16504 invoked by alias); 10 Feb 2006 00:33:01 -0000 Received: (qmail 16494 invoked by uid 22791); 10 Feb 2006 00:33:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Feb 2006 00:32:59 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k1A0WvOO000882 for ; Thu, 9 Feb 2006 19:32:57 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k1A0Wv114496; Thu, 9 Feb 2006 19:32:57 -0500 Received: from livre.oliva.athome.lsd.ic.unicamp.br (vpn50-42.rdu.redhat.com [172.16.50.42]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k1A0WtOb010837; Thu, 9 Feb 2006 19:32:56 -0500 Received: from livre.oliva.athome.lsd.ic.unicamp.br (livre.oliva.athome.lsd.ic.unicamp.br [127.0.0.1]) by livre.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5) with ESMTP id k1A0WoaD025851; Thu, 9 Feb 2006 22:32:51 -0200 Received: (from aoliva@localhost) by livre.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5/Submit) id k1A0Wn3r025850; Thu, 9 Feb 2006 22:32:49 -0200 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: fixes for type-punning warnings in GCC 4.1 References: <20051219221830.GA32448@nevyn.them.org> <20060122203323.GC27224@nevyn.them.org> <20060208045905.GA12327@nevyn.them.org> From: Alexandre Oliva Date: Fri, 10 Feb 2006 00:33:00 -0000 In-Reply-To: <20060208045905.GA12327@nevyn.them.org> (Daniel Jacobowitz's message of "Tue, 7 Feb 2006 23:59:05 -0500") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (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-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00230.txt.bz2 On Feb 8, 2006, Daniel Jacobowitz wrote: > On Wed, Feb 08, 2006 at 12:48:11AM -0200, Alexandre Oliva wrote: >> On Jan 22, 2006, Daniel Jacobowitz wrote: >> >> > The output is always a DOUBLEST. I don't know of any reason why we >> > should enable HAVE_LONG_DOUBLE if we can't printf and scanf them; would >> > this be simpler in that case? Don't make DOUBLEST something we can't >> > scan or print. >> >> Sounds good to me. Ok to install? > Well, it's not right as-is; you need to look at the other uses of > HAVE_LONG_DOUBLE. Did. The other uses of HAVE_LONG_DOUBLE are correct, since they do not assume DOUBLEST is long double and they make no attempts at printing long doubles directly. > Would you mind terribly fixing that, adding a changelog, and leaving > out the tui-data change for now? gdb won't build without the tui-data change. What's wrong with adding the temporary fix now, such that it builds, until someone with a better understanding can go ahead and re-engineer the data structure correctly? > Anything that needs an explanatory paragraph it's probably worth > seeing how hard the interface fix is; if you don't have time, I'll > do it. Thanks, -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ Secretary for FSF Latin America http://www.fsfla.org/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}