[GHC] #11562: WARNING: file compiler/stgSyn/CoreToStg.hs, line 250: $fCategoryConstraint:- True False

GHC ghc-devs at haskell.org
Thu Feb 11 10:38:42 UTC 2016


#11562: WARNING: file compiler/stgSyn/CoreToStg.hs, line 250:
$fCategoryConstraint:- True False
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      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 Simon Peyton Jones <simonpj@…>):

 In [changeset:"850085555a1103810d57f0d9835f4d525fd8ec00/ghc"
 85008555/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="850085555a1103810d57f0d9835f4d525fd8ec00"
 Always do eta-reduction

 See Note [Eta-reduction in -O0] in DynFlags.

 Bottom line: doing eta reduction unconditionally is benign, and
 removes an ASSERT failure (Trac #11562).
 }}}

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


More information about the ghc-tickets mailing list