[ ghc-Bugs-1223893 ] Double constant leads to malformed .hc
SourceForge.net
noreply at sourceforge.net
Thu Jun 23 05:20:05 EDT 2005
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
More information about the Glasgow-haskell-bugs
mailing list