logo       

[ ghc-Bugs-1223893 ] Double constant leads to malformed .hc: msg#00058

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1223893 ] Double constant leads to malformed .hc

Bugs item #1223893, was opened at 2005-06-20 04:47
Message generated for change (Settings changed) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1223893&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: 6.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Manuel M. T. Chakravarty (chak)
>Assigned to: Simon Marlow (simonmar)
Summary: Double constant leads to malformed .hc

Initial Comment:
The program

> avogadro = 6.022E23
> main = print $ avogadro

when compiled with -O leads to a .hc about which gcc
complains

Main.hc: In function 'Main_lvl_entry':
Main.hc:328: warning: integer overflow in expression

The .hc files is attached.


----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-06-23 09:20

Message:
Logged In: YES
user_id=48280

Thanks; fixed.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1223893&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise