From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31471 invoked by alias); 5 May 2004 00:14:07 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31460 invoked from network); 5 May 2004 00:14:06 -0000 Received: from unknown (HELO mail.ut.sco.com) (216.250.130.2) by sources.redhat.com with SMTP; 5 May 2004 00:14:06 -0000 Received: (qmail 8833 invoked from network); 5 May 2004 00:14:06 -0000 Received: from vms.caldera.com (216.250.130.31) by mail.ut.sco.com with SMTP; 5 May 2004 00:14:06 -0000 Received: from vms.caldera.com (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 5AEDDA004; Tue, 4 May 2004 18:14:05 -0600 (MDT) Received: from sco.com (shrike.pdev.ca.caldera.com [132.147.65.3]) by vms.caldera.com (Postfix) with ESMTP id 813D6A002; Tue, 4 May 2004 18:14:04 -0600 (MDT) Message-ID: <40982F7E.9030206@sco.com> Date: Wed, 05 May 2004 00:14:00 -0000 From: Kean Johnston Organization: The SCO Group User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) MIME-Version: 1.0 To: Jim Wilson Cc: gcc@gcc.gnu.org Subject: Re: Promoting floats to doubles? References: <409493B7.6040108@sco.com> <4096AE14.7000505@specifixinc.com> <4096EEAE.60105@sco.com> <1083643245.1258.151.camel@leaf.tuliptree.org> <4097D44D.5090105@sco.com> <1083703981.1063.14.camel@leaf.tuliptree.org> In-Reply-To: <1083703981.1063.14.camel@leaf.tuliptree.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00189.txt.bz2 > So look at gcc-2.8.1, grep for flag_traditional... I see code in > default_conversion for arguments. store_parm_decls and > combine_parm_decls for parameters. And grokdeclarator for return > values. The last one is optional, since not all K&R C compilers > promoted return values. So the default_conversion change seems right. > The store_parm_decls/combine_parm_decls stuff has changed a bit since > 2.8.1, so you might have to look at that a bit closer. Thank you I will go look at those. As I said in my previous mail I think the problem is broader than C, as no matter what language you use its probably going to end up using libm if you do any math stuff, so in effect it really is an ABI issue. I'm working my way through the GCC docs to try to get a better understanding of where the appropriate place may be to do this. Kean