#10844: CallStack should not be inlined -------------------------------------+------------------------------------- Reporter: nomeata | Owner: gridaphobe Type: task | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1259 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"a6e13d502ef46de854ec1babcd764ccce68c95e3/ghc" a6e13d50/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="a6e13d502ef46de854ec1babcd764ccce68c95e3" Make exprIsConApp_maybe work better for literals strings There are two things here * Use exprIsLiteral_maybe to "look through" a variable bound to a literal string. * Add CONLIKE to the NOINLINE pragma for unpackCString# and unpackCStringUtf8# See Trac #13317, Trac #10844, and Note [exprIsConApp_maybe on literal strings] in CoreSubst I did a nofib run and got essentially zero change except for one 2.2% improvement in allocation for 'pretty'. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10844#comment:29> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler