Commits on Source (8)
-
Fixes point 1 in #25052
75b63a41 -
Fixes #25052
b89c26ba -
This partially addresses #25082.
8ebb3fed -
It was added earlier but hadn't appeared in any release notes yet. Partially addresses #25082.
6a447663 -
- beef6135 enabled the use of MO_Add/MO_Sub for 64-bit operations in the C and LLVM backends - 6755d833 did the same for the x86 NCG backend However we store some literal values as `Int` in the compiler. As a result, some Cmm optimizations transformed target 64-bit literals into compiler `Int`. If the compiler is 32-bit, this leads to computing with wrong literals (see #24893 and #24700). This patch disables these Cmm optimizations for 32-bit compilers. This is unsatisfying (optimizations shouldn't be compiler-word-size dependent) but it fixes the bug and it makes the patch easy to backport. A proper fix would be much more invasive but it shall be implemented in the future. Co-authored-by:
amesgen <amesgen@amesgen.de>
9bb652ef -
Add a section on "types in terms" that were implemented in 8b2f70a2 and remove the now outdated suggestion of using `type` for them.
99104834 -
8007f7d1
-
Fix #24377
f384665b
Showing
- compiler/GHC/Cmm/Opt.hs 18 additions, 1 deletioncompiler/GHC/Cmm/Opt.hs
- docs/users_guide/9.12.1-notes.rst 4 additions, 0 deletionsdocs/users_guide/9.12.1-notes.rst
- docs/users_guide/exts/required_type_arguments.rst 28 additions, 7 deletionsdocs/users_guide/exts/required_type_arguments.rst
- docs/users_guide/javascript.rst 3 additions, 3 deletionsdocs/users_guide/javascript.rst
- docs/users_guide/using-optimisation.rst 2 additions, 1 deletiondocs/users_guide/using-optimisation.rst
- libraries/ghc-internal/jsbits/base.js 3 additions, 3 deletionslibraries/ghc-internal/jsbits/base.js
- libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs 11 additions, 7 deletionslibraries/ghc-internal/src/GHC/Internal/Exception/Type.hs
- libraries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs 1 addition, 1 deletion...ries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs
- testsuite/tests/codeGen/should_run/T24700.hs 5 additions, 0 deletionstestsuite/tests/codeGen/should_run/T24700.hs
- testsuite/tests/codeGen/should_run/T24700.stdin 1 addition, 0 deletionstestsuite/tests/codeGen/should_run/T24700.stdin
- testsuite/tests/codeGen/should_run/T24700.stdout 1 addition, 0 deletionstestsuite/tests/codeGen/should_run/T24700.stdout
- testsuite/tests/codeGen/should_run/T24893.hs 8 additions, 0 deletionstestsuite/tests/codeGen/should_run/T24893.hs
- testsuite/tests/codeGen/should_run/T24893.stdout 1 addition, 0 deletionstestsuite/tests/codeGen/should_run/T24893.stdout
- testsuite/tests/codeGen/should_run/all.T 2 additions, 0 deletionstestsuite/tests/codeGen/should_run/all.T
- testsuite/tests/driver/T13914/T13914.stdout 0 additions, 1 deletiontestsuite/tests/driver/T13914/T13914.stdout
- testsuite/tests/exceptions/T25052.hs 8 additions, 0 deletionstestsuite/tests/exceptions/T25052.hs
- testsuite/tests/exceptions/T25052.stdout 5 additions, 0 deletionstestsuite/tests/exceptions/T25052.stdout
- testsuite/tests/exceptions/all.T 2 additions, 0 deletionstestsuite/tests/exceptions/all.T
testsuite/tests/codeGen/should_run/T24700.hs
0 → 100644
testsuite/tests/codeGen/should_run/T24893.hs
0 → 100644
testsuite/tests/exceptions/T25052.hs
0 → 100644
testsuite/tests/exceptions/T25052.stdout
0 → 100644
testsuite/tests/exceptions/all.T
0 → 100644