
#13720: INLINE pragma semantics changed since 8.0.2 -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: invalid | 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 mpickering): I feel that the user guide should be updated then to precisely state which optimisations will be performed on `INLINE` bindings. https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts... #inline-pragma It currently states that "GHC guarantees to inline precisely the code that you wrote, no more and no less." which doesn't seem to be true. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13720#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler