#5576: Fix to #5549 breaks integerConstantFolding
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
Comment(by daniel.is.fischer):
Okay, on 32-bits, HEAD minus ca380cd allocates almost twice as much as
with. Turns out the improved treatment of integer literals was from 17^th^
September, so the old HEAD I still had lying around didn't allocate a
fresh Integer in the loop. Difference in running times isn't nearly as
dramatic as the difference in allocation, about 10% on x86, about 5% on
x86_64 (big cheer for GHC's allocator), but it's still a loss.
I'll play a bit with `litSize`, see if some tweaking there makes both
tests happy.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5576#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs