[GHC] #13188: COMPLETE pragma causes compilation to hang forever under certain scenarios

GHC ghc-devs at haskell.org
Thu Feb 2 04:38:05 UTC 2017


#13188: COMPLETE pragma causes compilation to hang forever under certain scenarios
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  mpickering
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3058
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"b16239a95b730dd2d6fc0dbb18c8430669f2c187/ghc"
 b16239a9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b16239a95b730dd2d6fc0dbb18c8430669f2c187"
 Make interface loading for COMPLETE pragmas lazy

 Without this additional laziness we will loop forever trying
 to find the definitions of the conlikes referenced in the pragma.

 Fixes #13188

 Reviewers: austin, RyanGlScott, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D3058

 GHC Trac Issues: #13188
 }}}

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


More information about the ghc-tickets mailing list