
#13027: The let/app invariant, evaluated-ness, and reallyUnsafePtrEquality# -------------------------------------+------------------------------------- Reporter: erikd | Owner: dfeuer Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Building GHC | Test Case: failed | simplCore/should_compile/T13027 Blocked By: | Blocking: Related Tickets: #11444 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): Lots of other primops with IO-ish type do have `can_fail` and `has_side_effects` set though, even "read-only" ones like {{{ readMutVar# :: MutVar# s a -> State# s -> (# State# s, a #) }}} I know that it's not exactly a convincing argument that `seq#` needs the flags, but it makes me wonder... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13027#comment:34 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler