Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-07-04 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:
  Type:  bug| Status:  closed
  Priority:  normal |  Milestone:  6.6   
 Component:  Compiler   |Version:  6.5   
  Severity:  normal | Resolution:  fixed 
  Keywords: | Os:  Linux 
Difficulty:  Unknown|   Architecture:  x86   
+---
Changes (by simonpj):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Excellent bug report; Core Lint wins again.

 It turns out that there's a long-standing bug, which I have now fixed.
 tc204 tests.

 (I fear the commit message may say tc203, but it's 204!)

 Meanwhile, I think should be able to work around by replacing
 {{{
  ...?y...?y...?y...
 {{{
let x = ?y in ...x...x..x..
 }}}

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-28 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:  6.6  
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 Run ghc -fglasgow-exts -c Bug795.hs to reproduce.

 Looking at the resulting code it seems like passing on an implicit
 parameter twice in the same function triggers the issue.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-28 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:  6.6  
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 Running with -dcore-lint was helpful. It was a little odd in that several
 (unrelated) modules failed to compile the first-time through with -dcore-
 lint and --make, but succeeded on a reattempt. However, the module in
 question (IExpand.hs) consistently failed with -dcore-lint and the message
 pointed to a function that took an implicit parameter as an argument.
 Rewriting the function to no longer use that implicit parameter fixed the
 problem. I'm going to attempt to boil things down from there and see if I
 can come up with a simpler example that illustrates the problem.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-22 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:  6.6  
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Changes (by simonmar):

  * milestone:  => 6.6

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-22 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by simonmar):

 Unfortunately we'll be unable to investigate this bug without a way to
 reproduce it.  Is it possible you could send us the source code privately,
 if we give you an informal promise to keep it to ourselves and delete it
 when we've finished?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-16 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 Using the native code generator (-fasm) does not avoid this bug.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-15 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 I also verified that the code in question compiles without incident with
 6.4.2.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-14 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 I also cleared out all of the existing files and compiled from scratch and
 had the same problem.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-14 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
+---
  Reporter:  [EMAIL PROTECTED]  |  Owner:   
  Type:  bug| Status:  new  
  Priority:  normal |  Milestone:   
 Component:  Compiler   |Version:  6.5  
  Severity:  normal | Resolution:   
  Keywords: | Os:  Linux
Difficulty:  Unknown|   Architecture:  x86  
+---
Comment (by [EMAIL PROTECTED]):

 It's a self-built version of that snapshot where I tweaked the build
 process until I made a Debian package out of it, so it is *possible* I
 broke something, but the code that seems to generate that error (in
 compiler/codeGen/CgMonad.lhs) isn't near anything I remember touching.
 Unfortunately, I can't give you the relevant source that generates the
 error because it's internal to Bluespec.

 Other relevant bits:
 I'm on a reasonably up-to-date Debian unstable machine, kernel
 2.6.16-2-686
 My gcc version is 4.1.2.20060608 (prerelease) (Debian 4.1.1-3)

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-14 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt
--+-
Reporter:  [EMAIL PROTECTED]  |Owner: 
Type:  bug|   Status:  new
Priority:  normal |Milestone: 
   Component:  Compiler   |  Version:  6.5
Severity:  normal | Keywords: 
  Os:  Linux  |   Difficulty:  Unknown
Architecture:  x86|  
--+-
I got the error above while compiling some of my code with the ghc 2006-
 06-07 snapshot.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs