#7350: 'stg_killMyself' undeclared (first use in this function)
-----------------------------------+----------------------------------------
 Reporter:  erikd                  |          Owner:                  
     Type:  bug                    |         Status:  new             
 Priority:  normal                 |      Component:  Compiler        
  Version:  7.7                    |       Keywords:                  
       Os:  Unknown/Multiple       |   Architecture:  Unknown/Multiple
  Failure:  Installing GHC failed  |       Testcase:                  
Blockedby:                         |       Blocking:                  
  Related:                         |  
-----------------------------------+----------------------------------------
 Compiling git HEAD on PPC64 and i get:

 {{{
   rts_dist_HC rts/dist/build/Exception.o
 /tmp/ghc28686_0/ghc28686_0.hc: In function 'stg_killThreadzh':

 /tmp/ghc28686_0/ghc28686_0.hc:233:1:
      error: 'stg_killMyself' undeclared (first use in this function)

 /tmp/ghc28686_0/ghc28686_0.hc:233:1:
      note: each undeclared identifier is reported only once for each
 function it appears in
 }}}

 stg_killMyself is defined and used in the same file rts/Exception.cmm, but
 it is used before it is defined. Is CMM like C and not accept the use of a
 function before it is defined?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7350>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to