Opened 12 years ago

Closed 12 years ago

Last modified 48 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: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

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 12 years ago.
q.2.hcr (14.9 KB) - added by p1738j 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by p1738j

Attachment: q.2.hs added

comment:1 Changed 12 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 12 years ago by p1738j

Attachment: q.2.hcr added

comment:2 Changed 12 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 12 years ago by p1738j

Status: assignedclosed
Note: See TracTickets for help on using tickets.