
#8996: mark more things as const in C codegen -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 (CodeGen) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: None/Unknown | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Comment (by slyfox): I think something, like use cases of {{{ pprLocalness :: CLabel -> SDoc pprLocalness lbl | not $ externallyVisibleCLabel lbl = ptext (sLit "static ") | otherwise = empty }}} might be very close to 'const' case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8996#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler