Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7126 closed bug (fixed)

Unexpected loop

Reported by: boris Owned by:
Priority: normal Milestone: 7.6.1
Component: Compiler Version: 7.4.1
Keywords: class, hang, loop Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Test Case: T7126
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

The attached program executes as expected if compiled with GHC 7.0.3, but crashes with <<loop>> for GHC 7.4.1. When the code was more polymorphic (before simplifying the case), it just hanged. I suspect that the loop is related to the class dictionaries creation/passing.

Expected:

"1"
"1"

Actual:

"1"
bug: <<loop>>

Attachments (1)

bug.hs (542 bytes) - added by boris 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by boris

Attachment: bug.hs added

comment:1 Changed 5 years ago by pcapriotti

difficulty: Unknown
Milestone: 7.6.1
Resolution: fixed
Status: newclosed

Thanks for the report. This looks fixed in HEAD.

comment:2 Changed 5 years ago by pcapriotti

Test Case: T7126
Note: See TracTickets for help on using tickets.