[GHC] #9736: Constant folding rules are wrong for GHCJS
GHC
ghc-devs at haskell.org
Wed Oct 29 09:25:16 UTC 2014
#9736: Constant folding rules are wrong for GHCJS
-------------------------------------+-------------------------------------
Reporter: luite | Owner: luite
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.8.3
Resolution: | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Can you be more specific? Why are these "optimisations" wrong for GHCJS?
Could they be wrong for other architectures? Concretely, what change do
you propose?
Built-in rules (like those in `PrelRules` have access to `DynFlags`. If
necessary you could make the rule conditional on the `GHCJS` flag
(whatever that is).
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9736#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list