[GHC] #11290: T6031: *** Core Lint errors : in result of Common sub-expression ***

GHC ghc-devs at haskell.org
Sat Dec 26 19:52:39 UTC 2015


#11290: T6031: *** Core Lint errors : in result of Common sub-expression ***
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  deriving/should_compile/T6031,
                                     |  deriving/should_run/T7931 (WAY=hpc)
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 In this case, the lint error is a false alarm:
 {{{
 lvl_sUb :: Empty -> ShowS
 [LclId, Str=DmdType]
 lvl_sUb = case $cshowsPrec_aQD of wild_00 { }

 $cshowList_aQR :: [Empty] -> ShowS
 }}}
 is indeed diverging for sure.

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


More information about the ghc-tickets mailing list