From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16751 invoked by alias); 13 Dec 2007 09:33:55 -0000 Received: (qmail 16741 invoked by uid 22791); 13 Dec 2007 09:33:54 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Dec 2007 09:33:48 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 731802D3C0; Thu, 13 Dec 2007 10:33:45 +0100 (CET) From: Andreas Schwab To: "" Doug Kwan (=?utf-8?B?6Zec5oyv5b63?=) "" Cc: gcc-patches@gcc.gnu.org, "Diego Novillo" , "Kenneth Zadeck" Subject: Re: [LTO][PATCH] Fix long double precision problem References: <498552560712042305h6aa6f4d8jfdc8e9031b522604@mail.gmail.com> <47569FA0.5040308@naturalbridge.com> <4756D2FB.6020703@codesourcery.com> <498552560712051100s283acdc3le82c21759d7c3b6f@mail.gmail.com> <475739AD.5050705@codesourcery.com> <498552560712111504y77964103i3a0ad3743b77a5c9@mail.gmail.com> <475F55E4.1090203@codesourcery.com> <498552560712121127t76e5b0b9m52fd364b33d7d7c3@mail.gmail.com> <476047B6.3090704@codesourcery.com> <498552560712121716p20ff4e8bva586a8e21c1c9c6a@mail.gmail.com> X-Yow: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!! Date: Thu, 13 Dec 2007 11:02:00 -0000 In-Reply-To: <498552560712121716p20ff4e8bva586a8e21c1c9c6a@mail.gmail.com> (Doug Kwan's message of "Wed\, 12 Dec 2007 17\:16\:07 -0800") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00580.txt.bz2 ""Doug Kwan (=E9=97=9C=E6=8C=AF=E5=BE=B7)"" writes: > Index: gcc/dwarf2out.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/dwarf2out.c (revision 130795) > +++ gcc/dwarf2out.c (working copy) > @@ -8494,7 +8494,8 @@ base_type_die (tree type) >=20=20 > /* Emit extra information for integral types whose precision is less > than the bit width of their containing object. */ > - if (TREE_CODE (type) =3D=3D INTEGER_TYPE > + if ((TREE_CODE (type) =3D=3D INTEGER_TYPE > + || SCALAR_FLOAT_TYPE_P (type)) > && TYPE_PRECISION (type) < byte_size * BITS_PER_UNIT) > { What if the padding is internal? Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."