[GHC] #14779: Compiling with -g fails -lint-core checks

GHC ghc-devs at haskell.org
Tue Feb 20 11:21:32 UTC 2018


#14779: Compiling with -g fails -lint-core checks
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
  (Debugging)                        |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14122, #14123,   |  Differential Rev(s):  phab:D4423
  #8472, #14406                      |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 >  I believe we should never have a tick wrapped around a literal string.

 I think it's fine for these src ticks to appear anywhere - they're
 supposed to have no impact on simplifier behaviour, they only result in
 some annotations being added to the generated code in the backend. So the
 simplifier should look through src ticks.

 In fact it's probably useful to have src ticks wrapped around these
 literal strings, because then we can tell where the string came from in
 gdb.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14779#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list