RE: GHC warnings

1999-06-29 Thread Simon Peyton-Jones

They are harmless, I'm 95% sure, but they represent ASSERTs that I thought
should be true.  Finding out why they aren't true hasn't got
far enough up my priority list to get done, but I'm reluctant
to remove them until I understand why they happen.

They only show up if you compile the compiler with -DDEBUG, which
I always do.

Simon

 -Original Message-
 From: Sven Panne 
 Sent: Tuesday, June 29, 1999 4:20 PM
 To: Simon Peyton-Jones
 Subject: GHC warnings
 
 
 With a debugging version of ghc I get lots of warnings of the 
 following
 form:
 
WARNING: file simplCore/Simplify.lhs line 634
[l{-a3pm-} = PrelBase.Izh{-67,s-} {lzh{-a3pB-}}]
 
 Another kind of warning which pops up even with a "normal" 
 ghc is this:
 
r.u.n PrelIOBase.IO{-rpF,j-}
 
 I guess this is your territory, so my question is: Are they something
 to worry about? If not, should the corresponding lines in the ghc
 sources be removed? I'm in the middle of some ugly bug hunting in my
 code, so I just want to be sure about ghc...
 
 Cheers,
Sven
 -- 
 Sven PanneTel.: 
 +49/89/2178-2235
 LMU, Institut fuer Informatik FAX : 
 +49/89/2178-2211
 LFE Programmier- und Modellierungssprachen  
 Oettingenstr. 67
 mailto:[EMAIL PROTECTED]
 D-80538 Muenchen
 http://www.informatik.uni-muenchen.de/~Sven.Panne
 



Re: GHC warnings

1999-06-29 Thread Sven Panne

Simon Peyton-Jones wrote:
 [...] They only show up if you compile the compiler with
 -DDEBUG, which I always do.

The r.u.n warnings show up with the "normal" ghc, too,
I'm 99% sure about this.

And another one (only with -DDEBUG): What do the warnings
"extendCSEnv: long list: ..." try to tell me? Am *I* doing
something silly or ghc?  :-)

Cheers,
   Sven
-- 
Sven PanneTel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen  Oettingenstr. 67
mailto:[EMAIL PROTECTED]D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne