[GHC] #14272: GHC goes out of memory while compiling simple program with optimizations

GHC ghc-devs at haskell.org
Tue Sep 26 16:00:06 UTC 2017


#14272: GHC goes out of memory while compiling simple program with optimizations
-------------------------------------+-------------------------------------
        Reporter:  39aldo39          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4021,
       Wiki Page:                    |  Phab:D4025
-------------------------------------+-------------------------------------

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

 In [changeset:"57372a7cc958ebfa4ac64fc800e00baacfc3cf5c/ghc"
 57372a7c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="57372a7cc958ebfa4ac64fc800e00baacfc3cf5c"
 PrelRules: Handle Int left shifts of more than word-size bits

 This should result in zero. Failing to realize this caused us to try
 to constant-fold via the normal path, resulting in #14272.

 Test Plan: Validate with coming tests

 Reviewers: austin, simonpj

 Subscribers: simonpj, rwbarton, thomie, hvr

 GHC Trac Issues: #14272

 Differential Revision: https://phabricator.haskell.org/D4025
 }}}

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


More information about the ghc-tickets mailing list