patch applied (ghc): Fix long-standing bug in CPR analysis

Simon Peyton Jones simonpj at microsoft.com
Tue Jan 31 10:46:48 EST 2006


Tue Jan 31 07:32:47 PST 2006  simonpj at microsoft.com
  * Fix long-standing bug in CPR analysis
  
  	MERGE TO STABLE
  
  For a long time (2002!) the CPR analysis done by
  dmdAnalTopRhs has been bogus.  In particular, it's possible
  for a newtype constructor to look CPR-ish when it simply isn't.
  
  This fixes it.  Test is stranal/newtype
  
  
  

    M ./ghc/compiler/stranal/DmdAnal.lhs -5 +12


More information about the Cvs-ghc mailing list