Ticket #5915 (closed bug: fixed)
Code using seq has wrong strictness when unoptimised (too strict)
Description
The following piece of code gets miscompiled if no optimisation is used. The program crashes instead of printing [0], which would be the correct behaviour. GHC 7.3.20111127 has been used for triggering this bug.
test = seq (seq id (\a -> undefined a)) main = do print $ test [0]
Change History
Note: See
TracTickets for help on using
tickets.
