[GHC] #1405: Make ghc (stage1) be compilable by non-GHC

GHC trac at galois.com
Sat Aug 11 13:14:31 EDT 2007


#1405: Make ghc (stage1) be compilable by non-GHC
-----------------------------+----------------------------------------------
    Reporter:  Isaac Dupree  |        Owner:         
        Type:  task          |       Status:  new    
    Priority:  normal        |    Milestone:  _|_    
   Component:  Compiler      |      Version:  6.6.1  
    Severity:  normal        |   Resolution:         
    Keywords:                |   Difficulty:  Unknown
          Os:  Unknown       |     Testcase:         
Architecture:  Unknown       |  
-----------------------------+----------------------------------------------
Comment (by Isaac Dupree):

 random notes:

 `unsafeCoerce#` appears to be only used by ghci and template-haskell (i.e.
 stage2). It would still be nice to use the Unsafe.Coerce "unsafeCoerce"
 name (IMHO).

 `'.#'` and `'import.*GHC'` are good things to grep for to find non-
 portable code (although especially the first one will find lots of false
 positives - the `.` weeds out preprocessor commands that begin with `#` at
 the beginning of lines)

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


More information about the Glasgow-haskell-bugs mailing list