
#11158: Combine exprIsTrivial and cpe_ExprIsTrivial -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: task | Status: patch Priority: highest | Milestone: 8.2.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1656 Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): Doesn’t the note “Note [Inlining in CorePrep]” explain it sufficiently well? The runtime does not support trivial thunks (no stg_ap_0_upd_info), so CorePrep must not produce them. (Well, it is not a complete story yet – why does it segfault instead of giving a linker error; why does it only occur when linked against GHC.) I’ll ponder it some more. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11158#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler