Opened 6 years ago

Closed 6 years ago

#5374 closed bug (fixed)

Panic compiling ATLoop

Reported by: Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Doing a validate --slow, ATLoop failed with

Compile failed (status 256) errors were:
ghc: panic! (the 'impossible' happened)
  (GHC version 7.3.20110803 for x86_64-unknown-linux):
	ASSERT failed! file compiler/basicTypes/RdrName.lhs line 384
(parent:main:ATLoop_help.Foo{tc raY}) ()

It might be because stage2 is built with DEBUG, running a vanilla validate now.

Change History (3)

comment:1 Changed 6 years ago by

Compiles fine with a vanilla build. Probably the assertion failure is to be expected with a debug build.

comment:2 Changed 6 years ago by simonpj@…

commit 1ae5e77cbdd51912ef96ff6e3d554f27354ff982

Author: Simon Peyton Jones <>
Date:   Fri Aug 5 11:14:31 2011 +0100

    plusParent can see a non-parent and a parent (fixes Trac #5374)
    See Note [Parents] in RdrName.

 compiler/basicTypes/RdrName.lhs |   60 ++++++++++++++++++++++++++++++++++----
 1 files changed, 53 insertions(+), 7 deletions(-)

comment:3 Changed 6 years ago by simonpj

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.