
#15960: Using -g causes differences in generated core. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.3 Component: Compiler | Version: 8.6.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): Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): I think this is because `CorePrep` adds ticks in data con workers. Comments around the code: {{{ -- If we want to generate debug info, we put a source note on the -- worker. This is useful, especially for heap profiling. }}} Why do you think this is a bug? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15960#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler