Skip to content

Uncompilable code generated

When compiling via C the symbol Infinity is sometimes generated.

main = interact $ show . (< 1e400) . read

Compile with

ghc -O2 -fvia-C foo.hs
Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC lennart@augustsson.net
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information