Opened 15 years ago

Closed 15 years ago

#3136 closed bug (invalid)

'long double' comparison against 0 does not work

Reported by: bhaible Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Something very elementary about 'long double' does not work, either passing them as arguments to functions, or returning them from functions, or comparing them against 0.

Could be a bug in the compiler, or in the initialization of the floating point register stack.

Attachments (2)

haiku-long-double-bug.png (8.0 KB ) - added by bhaible 15 years ago.
screenshot of test case
long-double-bug.c (93 bytes ) - added by bhaible 15 years ago.
source of the test case

Download all attachments as: .zip

Change History (3)

by bhaible, 15 years ago

Attachment: haiku-long-double-bug.png added

screenshot of test case

by bhaible, 15 years ago

Attachment: long-double-bug.c added

source of the test case

comment:1 by zooey, 15 years ago

Resolution: invalid
Status: newclosed

Well, it's been a while ...

I have not been able to reproduce this, the given program just works with both hrev28400 and head (hrev31058), checking the last two versions of gcc2 (20081024 and 20080313), running on vmware and native.

Note: See TracTickets for help on using tickets.