[GHC] #10712: Regression: make TEST=exceptionsrun001 WAY=optasm is failing
GHC
ghc-devs at haskell.org
Thu Jan 28 20:38:00 UTC 2016
#10712: Regression: make TEST=exceptionsrun001 WAY=optasm is failing
-------------------------------------+-------------------------------------
Reporter: thomie | Owner:
Type: bug | Status: closed
Priority: highest | Milestone: 8.0.1
Component: Compiler | Version: 7.11
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| base/tests/exceptionsrun001
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1616
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
`catch` is ''not'' strict in its argument. Its argument is a function;
`catch` just guarantees to call that function. So yes `build (...)` is
sure to be evaluated, but GHC doesn't aggressively evaluate things as
early as possible. It just uses strictness info to avoid building thunks;
and none are built here. So I think it's fine.
Might be wroth fixing the test though.
Thanks for the accurate diagnosis.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10712#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list