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

GHC ghc-devs at haskell.org
Mon Mar 5 16:57:36 UTC 2018


#14779: Compiling with -g fails -lint-core checks
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.2
       Component:  Compiler          |              Version:  8.3
  (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 simonpj):

 >  Fixing tryForCSE to look through ticks here:

 I don't get it. You've added a case to `tryForCSE` that looks a the
 original expression `expr`, not the stripped one `expr''`.   How does that
 differ from the existing code where the test is in `cse_bind`?

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


More information about the ghc-tickets mailing list