Opened 10 years ago

Closed 10 years ago

Last modified 46 years ago

#387 closed bug (Fixed)

Too many seq's (in external core)

Reported by: p1738j Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

With the attached input, the resulting core contains a
strange definition of compare_patches. It does 12 (or
so) "seq"'s on the two arguments
(where two would suffice).



Attachments (2)

q.2.hs (3.3 KB) - added by p1738j 10 years ago.
q.2.hcr (14.9 KB) - added by p1738j 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by p1738j

comment:1 Changed 10 years ago by p1738j

Logged In: YES 
user_id=1151788

Added the output with the strange core definition
(Result of running 
ghc -fext-core -O -c q.hs
)

Changed 10 years ago by p1738j

comment:2 Changed 10 years ago by p1738j

Logged In: YES 
user_id=1151788

My mistake - the core code was after case compilation was
just very long, not wrong. (I always get confused by the
defautl case being printed first.)

No action needs to be taken.

comment:3 Changed 10 years ago by p1738j

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.