Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#1023 closed bug (fixed)

Core Lint Errors: in result of Simplifier phase 0, iteration 1 out of 4, ss_atJ is out of scope

Reported by: brian@… Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: spec002 Blocked By:
Blocking: Related Tickets:

Description

b@brian:~/Work/lambdavm-nofib/real/parser$ ~/Work/ghc/compiler/ghc-inplace  -O2 Main.hs
ghc-6.7: panic! (the 'impossible' happened)
  (GHC version 6.7 for powerpc-apple-darwin):
        initC: srt

b@brian:~/Work/lambdavm-nofib/real/parser$ ~/Work/ghc/compiler/ghc-inplace  -O2 -dcore-lint -v Main.hs
(Lots of output snipped)
*** Core Lint Errors: in result of Simplifier phase 0, iteration 1 out of 4 ***
<no location info>:
    In the expression: $slaLayout_s4qC ss_atJ
    ss_atJ is out of scope
(More snipped output)

Works fine with just -O (instead of -O2) and with ghc-6.6 -O2.

Main.hs (attached) is right out of nofib/real/parser

There are a few other tickets mentioning "initC: srt". I'm not sure if they are related or if the code generator is just failing with the same error for different reasons.

Attachments (1)

Main.hs (36.3 KB) - added by brian@… 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by brian@…

comment:1 Changed 7 years ago by brian@…

Looks like the same thing happens with nofib/real/fulsom/Csg.hs

comment:2 Changed 7 years ago by simonpj

Thanks. It's a bug in the simplifier, presumably following my recent upheaval. I'm looking into it. Simon

comment:3 Changed 7 years ago by simonpj

  • Resolution set to fixed
  • Status changed from new to closed
  • Test Case set to spec002

Fixed, thank you.

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.