From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25929 invoked by alias); 24 Oct 2012 23:55:07 -0000 Received: (qmail 25867 invoked by uid 22791); 24 Oct 2012 23:55:06 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Oct 2012 23:55:00 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Xn7cg4NYvz3hhZq; Thu, 25 Oct 2012 01:54:59 +0200 (CEST) X-Auth-Info: OEIrJazaANUtg7Ig2SNCKHIS/b2F8IqeI+PaE/7cT4k= Received: from linux.local (ppp-88-217-103-72.dynamic.mnet-online.de [88.217.103.72]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Xn7cf6p9wzbbfb; Thu, 25 Oct 2012 01:54:58 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 4A3521E550C; Thu, 25 Oct 2012 01:54:58 +0200 (CEST) From: Andreas Schwab To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [commit] off-by-one max exponent computation in convert_doublest_to_floatformat References: <1351102361-24045-1-git-send-email-brobecker@adacore.com> X-Yow: YOW!! The land of the rising SONY!! Date: Wed, 24 Oct 2012 23:55:00 -0000 In-Reply-To: <1351102361-24045-1-git-send-email-brobecker@adacore.com> (Joel Brobecker's message of "Wed, 24 Oct 2012 14:12:41 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-10/txt/msg00487.txt.bz2 Joel Brobecker writes: > +gdb_test_no_output "set variable ldbl_308 = 1.6e+308l" > + > +gdb_test "print ldbl_308" \ > + "= (1\..*e\\+308|inf)" You are still allowing the bug to happen. 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."