Opened 14 years ago

Closed 14 years ago

Last modified 46 years ago

#534 closed bug (Fixed)

float constant dumps core

Reported by: nobody Owned by: sewardj
Priority: normal Milestone:
Component: Runtime System Version: 5.0
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

ghci dumps core if I enter a floating point constant in
any expression:

  Prelude> 1.0
  Illegal instruction (core dumped)

Any program compled by ghc which contains a floating
point constant dumps core in the same way if/when the
constant is evaluated (but it does compile OK).

Coercion from integer to float works in both ghc and
ghci:

  Prelude> 1 :: Float
  1.0
  (0.48 secs, 7109136 bytes)

Change History (3)

comment:1 Changed 14 years ago by sewardj

Logged In: YES 
user_id=50143

Fixed.

I think this happened because of a misconfiguration of GMP,
causing it to be compiled with P6 insns, which naturally
don't work on 486s/P5s.

(This bug was reported by three different people.)

comment:2 Changed 14 years ago by sewardj

Logged In: YES 
user_id=50143

Fixed.

I think this happened because of a misconfiguration of GMP,
causing it to be compiled with P6 insns, which naturally
don't work on 486s/P5s.

(This bug was reported by three different people.)

comment:3 Changed 14 years ago by sewardj

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.