
#11270: "Unusable UNPACK pragma" warnings should be printed even without -O -------------------------------------+------------------------------------- Reporter: osa1 | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: | 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 simonpj): But in GHCi, which does not optimise, UNPACK pragmas do nothing, so it seems sensible to ignore them. Are you saying that you want GHC to do all the checks that it would have done if it had been optimising, even though it will then ignore the results? I'm sure that would be do-able if that's what everyone wants, and someone was willing to do it. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11270#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler