[GHC] #14251: LLVM Code Gen messes up registers
GHC
ghc-devs at haskell.org
Tue Sep 19 14:35:42 UTC 2017
#14251: LLVM Code Gen messes up registers
-------------------------------------+-------------------------------------
Reporter: angerman | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone:
Component: Compiler (LLVM) | Version: 8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by angerman):
Reasoing for `putStrLn (f g)`
{{{
putStrLn (f g)
= putStrLn (f (last [q 1#]))
= putStrLn (f (q 1#))
= putStrLn ((q 1#) 3# 4.0# 5.0## 6.0# 6.9## ++ " World!")
= putStrLn (q 1# 3# 4.0# 5.0## 6.0# 6.9## ++ " World!")
= putStrLn ("Hello " ++ show (F# 6.0#) ++ " " ++ show (D# 6.9##) ++ "
World!")
= putStrLn ("Hello 6.0 6.9 World!")
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14251#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list