[GHC] #11155: Trivial thunk gives "undefined reference to stg_ap_0_upd_info"

GHC ghc-devs at haskell.org
Sun Sep 23 11:16:21 UTC 2018


#11155: Trivial thunk gives "undefined reference to stg_ap_0_upd_info"
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  simplCore/should_compile/T11155
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"2dbf88b3558c3b53a1207fb504232c3da67b266e/ghc"
 2dbf88b3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2dbf88b3558c3b53a1207fb504232c3da67b266e"
 Fix get getIdFromTrivialExpr

 This bug, discovered by Trac #15325, has been lurking since

   commit 1c9fd3f1c5522372fcaf250c805b959e8090a62c
   Author: Simon Peyton Jones <simonpj at microsoft.com>
   Date:   Thu Dec 3 12:57:54 2015 +0000

     Case-of-empty-alts is trivial (Trac #11155)

 I'd forgotttnen to modify getIdFromTrivialExpr when I
 modified exprIsTrivial.   Easy to fix, though.
 }}}

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


More information about the ghc-tickets mailing list