patch applied (ghc): Lint should check for duplicate top-level bindings with same qualified name

Simon Peyton-Jones simonpj at microsoft.com
Mon Oct 25 03:24:00 EDT 2010


Now that *is* strange. The change only affects Lint, ant it affects Lint only by gathering the top-level names (done already) and checking that "M.x" doesn't occur twice (for any M, x). I would not have expected that to double space usage!

Might you investigate a bit more with your profiled compiler?

Thanks

Simon

| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf Of
| Ian Lynagh
| Sent: 23 October 2010 02:29
| To: cvs-ghc at haskell.org
| Subject: Re: patch applied (ghc): Lint should check for duplicate top-level bindings
| with same qualified name
| 
| On Fri, Oct 22, 2010 at 07:36:56AM -0700, Simon Peyton-Jones wrote:
| > Fri Oct 22 00:24:05 PDT 2010  simonpj at microsoft.com
| >   * Lint should check for duplicate top-level bindings with same qualified name
| >
| >   This would have produced a more civilised error for Trac #4396
| 
| This patch makes T1969 fail on the 7.0 branch (and would also make it
| fail on the HEAD, if it weren't already failing):
| 
| =====> T1969(normal) 1 of 2 [0, 0, 0]
| cd . && '/home/ian/ghc/7.0-branch/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-
| lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts  -c T1969.hs   +RTS
| -V0 -tT1969.comp.stats --machine-readable -RTS  >T1969.comp.stderr 2>&1
| bytes allocated 1035366872 is more than maximum allowed 550000000
| *** unexpected failure for T1969(normal)
| 
| 
| Thanks
| Ian
| 
| _______________________________________________
| 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