Subject: Trouble optimizing floating point
From: [email-masked] (Colin Peters)

13 Oct 1996 19:02:46 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-CC: [email-masked], [email-masked]
In-reply-to: Eric Wallace's message of Fri, 11 Oct 1996 08:32:52 -0700 <[email-masked]>
Original-Sender: [email-masked]

> Date: Fri, 11 Oct 1996 08:32:52 -0700
> From: Eric Wallace <[email-masked]>
> 
> This problem is due to a bug in the Cygnus version of gcc. If you have
> the source (and can successfully build it!) you can fix it. There is a
> define in config/cygwin32.h that reads:
> 
> #define LONG_DOUBLE_TYPE_SIZE 64
> 
> It should read:
> 
> #define LONG_DOUBLE_TYPE_SIZE 96
> 
> If it doesn't, then gcc will generate code for 80-bit extended reals
> under optimization, but will only generate *storage* for 64-bit reals.
> Obviously this is not good...

Might this have something to do with the fact that the 'float.h' header
file in b14 (maybe b16? Haven't checked) defines constants for doubles
and long doubles as exactly the same? I was slightly puzzled by this
when I noticed it.

Not that these header constants have anything to do with the bugs being
reported...

Colin.

------------------------------------------------------------------------------
Colin Peters ------------ Saga Univ. Dept. of Information Science, Saga, JAPAN
http://www.fu.is.saga-u.ac.jp/~colin/home.html - [email-masked]
コリン ピーターズ - 佐賀大学理工学部情報科学科情報基礎学講座
                    - Current favorite kanji: 晴れ 芝生 -

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".