
#15114: ghc 8.4.1 optimizes True to False -------------------------------------+------------------------------------- Reporter: elaforge | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by diatchki): As another data point, I can reproduce this with 8.4.1 on Linux too with `-O`. However, it goes away if I compile with `-O2`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15114#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler