cvs commit: fptools/ghc/compiler/cmm PprC.hs

Sigbjorn Finne sof at galois.com
Fri Apr 22 12:43:14 EDT 2005


This breaks compilation of .cmm files in rts/; ampersanding
stderr uses in .hc output for 'foreign "C"' calls, which doesn't
look quite right. Unless I hear anything, I'm going to back this
one out to avoid breaking the nightlies over the weekend.

--sigbjorn

----- Original Message ----- 
From: "Simon Marlow" <simonmar at haskell.org>
To: <cvs-ghc at haskell.org>
Sent: Friday, April 22, 2005 03:21
Subject: cvs commit: fptools/ghc/compiler/cmm PprC.hs


> simonmar    2005/04/22 03:21:10 PDT
> 
>  Modified files:
>    ghc/compiler/cmm     PprC.hs 
>  Log:
>  pprLit: when printing a CLabel, prefix it with '&'.  This ensures we
>  get the address rather than the value, in the case when the C label
>  refers to a variable (as might be the case if it is from a foreign
>  import, for example).
>  
>  Revision  Changes    Path
>  1.17      +5 -3      fptools/ghc/compiler/cmm/PprC.hs
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc


More information about the Cvs-ghc mailing list