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: [email protected] [mailto:[email protected]] On 
Behalf Of
| Ian Lynagh
| Sent: 23 October 2010 02:29
| To: [email protected]
| 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  [email protected]
| >   * 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
| [email protected]
| http://www.haskell.org/mailman/listinfo/cvs-ghc

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to