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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
