|
|
1
|
+.. _release-9-10-3:
|
|
|
2
|
+
|
|
|
3
|
+Version 9.10.3
|
|
|
4
|
+===============
|
|
|
5
|
+The significant changes to the various parts of the compiler are listed in the
|
|
|
6
|
+following sections. See the `migration guide
|
|
|
7
|
+<https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.10>`_ on the GHC Wiki
|
|
|
8
|
+for specific guidance on migrating programs to this release.
|
|
|
9
|
+
|
|
|
10
|
+
|
|
|
11
|
+Compiler
|
|
|
12
|
+~~~~~~~~
|
|
|
13
|
+
|
|
|
14
|
+- Don't cache solved [W] HasCallStack constraints to avoid re-using old
|
|
|
15
|
+ call-stacks instead of constructing new ones. (:ghc-ticket:`25529`)
|
|
|
16
|
+
|
|
|
17
|
+- Fix EmptyCase panic in tcMatches when \case{} is checked against a function
|
|
|
18
|
+ type preceded by invisible forall. (:ghc-ticket:`25960`)
|
|
|
19
|
+
|
|
|
20
|
+- Fix panic triggered by combination of \case{} and forall t ->. (:ghc-ticket:`25004`)
|
|
|
21
|
+
|
|
|
22
|
+- Fix GHC.SysTools.Ar archive member size writing logic that was emitting wrong
|
|
|
23
|
+ archive member sizes in headers. (:ghc-ticket:`26120`, :ghc-ticket:`22586`)
|
|
|
24
|
+
|
|
|
25
|
+- Fix multiple bugs in name resolution of subordinate import lists related to
|
|
|
26
|
+ type namespace specifiers and hiding clauses. (:ghc-ticket:`22581`, :ghc-ticket:`25983`, :ghc-ticket:`25984`, :ghc-ticket:`25991`)
|
|
|
27
|
+
|
|
|
28
|
+- Use mkTrAppChecked in ds_ev_typeable to avoid false negatives for type
|
|
|
29
|
+ equality involving function types. (:ghc-ticket:`25998`)
|
|
|
30
|
+
|
|
|
31
|
+- Fix bytecode generation for ``tagToEnum# <LITERAL>``. (:ghc-ticket:`25975`)
|
|
|
32
|
+
|
|
|
33
|
+- Don't report used duplicate record fields as unused. (:ghc-ticket:`24035`)
|
|
|
34
|
+
|
|
|
35
|
+- Propagate long distance info to guarded let binds for better pattern-match
|
|
|
36
|
+ checking warnings. (:ghc-ticket:`25749`)
|
|
|
37
|
+
|
|
|
38
|
+- Prevent incorrect unpacking optimizations for GADTs with multiple constructors. (:ghc-ticket:`25672`)
|
|
|
39
|
+
|
|
|
40
|
+- Introduce a separate argument limit for forced specs via SPEC argument with
|
|
|
41
|
+ warning when limit is exceeded. (:ghc-ticket:`25197`)
|
|
|
42
|
+
|
|
|
43
|
+Build system and packaging
|
|
|
44
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
45
|
+
|
|
|
46
|
+- 9.10 hadrian can build with Cabal-3.12.1. (:ghc-ticket:`25605`)
|
|
|
47
|
+
|
|
|
48
|
+- GHC settings: always unescape escaped spaces to fix handling of spaces in
|
|
|
49
|
+ executable paths. (:ghc-ticket:`25204`)
|
|
|
50
|
+
|
|
|
51
|
+Native code generator backend
|
|
|
52
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
53
|
+
|
|
|
54
|
+- x86 NCG: Fix code generation of bswap64 on i386. (:ghc-ticket:`25601`)
|
|
|
55
|
+
|
|
|
56
|
+- AArch64 NCG: Fix sub-word arithmetic right shift by zero-extending sub-word
|
|
|
57
|
+ values. (:ghc-ticket:`26061`)
|
|
|
58
|
+
|
|
|
59
|
+- NCG: AArch64 - Add -finter-module-far-jumps flag for modules with far jumps
|
|
|
60
|
+ outside the current module. (:ghc-ticket:`24648`)
|
|
|
61
|
+
|
|
|
62
|
+LLVM backend
|
|
|
63
|
+~~~~~~~~~~~~
|
|
|
64
|
+
|
|
|
65
|
+- LLVM: fix typo in padLiveArgs that was incorrectly computing too many padding
|
|
|
66
|
+ registers causing segfaults. (:ghc-ticket:`25770`, :ghc-ticket:`25773`)
|
|
|
67
|
+
|
|
|
68
|
+- llvmGen: Fix linkage of built-in arrays to use Appending linkage instead of
|
|
|
69
|
+ Internal. (:ghc-ticket:`25769`)
|
|
|
70
|
+
|
|
|
71
|
+- llvmGen: Fix built-in variable predicate to check for `@llvm` rather than
|
|
|
72
|
+ `$llvm`.
|
|
|
73
|
+
|
|
|
74
|
+WebAssembly backend
|
|
|
75
|
+~~~~~~~~~~~~~~~~~~~
|
|
|
76
|
+
|
|
|
77
|
+- wasm: use primitive opcodes for fabs and sqrt operations.
|
|
|
78
|
+
|
|
|
79
|
+Runtime system
|
|
|
80
|
+~~~~~~~~~~~~~~
|
|
|
81
|
+
|
|
|
82
|
+- rts: Implement WEAK EXTERNAL undef redirection by target symbol name.
|
|
|
83
|
+
|
|
|
84
|
+- rts: Handle API set symbol versioning conflicts.
|
|
|
85
|
+
|
|
|
86
|
+- rts: fix rts_clearMemory logic when sanity checks are enabled. (:ghc-ticket:`26011`)
|
|
|
87
|
+
|
|
|
88
|
+- rts/linker: Improve efficiency of proddable blocks structure by using binary
|
|
|
89
|
+ search instead of linked lists for better performance with split sections. (:ghc-ticket:`26009`)
|
|
|
90
|
+
|
|
|
91
|
+- rts/linker/PEi386: Don't repeatedly load DLLs by maintaining a hash-set of
|
|
|
92
|
+ loaded DLL names. (:ghc-ticket:`26009`, :ghc-ticket:`26052`)
|
|
|
93
|
+
|
|
|
94
|
+- rts/linker: Don't fail due to RTLD_NOW by attempting eager binding first,
|
|
|
95
|
+ then reverting to lazy binding on failure. (:ghc-ticket:`25943`)
|
|
|
96
|
+
|
|
|
97
|
+``base`` library
|
|
|
98
|
+~~~~~~~~~~~~~~~~
|
|
|
99
|
+
|
|
|
100
|
+- base: Expose Backtraces constructor and fields. (:ghc-ticket:`26049`)
|
|
|
101
|
+
|
|
|
102
|
+- base: Note strictness changes made in 4.16.0.0. (:ghc-ticket:`25886`)
|
|
|
103
|
+
|
|
|
104
|
+- Fix bugs in ``integerRecipMod`` and ``integerPowMod`` return values. (:ghc-ticket:`26017`)
|
|
|
105
|
+
|
|
|
106
|
+``ghc`` library
|
|
|
107
|
+~~~~~~~~~~~~~~~
|
|
|
108
|
+
|
|
|
109
|
+- perf: Replace uses of genericLength with strictGenericLength to reduce time
|
|
|
110
|
+ spent in 'assembleBCOs' and allocations. (:ghc-ticket:`25706`)
|
|
|
111
|
+
|
|
|
112
|
+Build tools
|
|
|
113
|
+~~~~~~~~~~~
|
|
|
114
|
+
|
|
|
115
|
+- configure: Drop probing of ld.gold since `gold` has been dropped from
|
|
|
116
|
+ binutils-2.44. (:ghc-ticket:`25716`)
|
|
|
117
|
+
|
|
|
118
|
+- get-win32-tarballs.py: List tarball files to be downloaded if we cannot find
|
|
|
119
|
+ them. (:ghc-ticket:`25929`)
|
|
|
120
|
+
|
|
|
121
|
+- hp2ps Utilities.c: include stdlib.h instead of extern malloc and realloc.
|
|
|
122
|
+
|
|
|
123
|
+Included libraries
|
|
|
124
|
+~~~~~~~~~~~~~~~~~~
|
|
|
125
|
+
|
|
|
126
|
+The package database provided with this distribution also contains a number of
|
|
|
127
|
+packages other than GHC itself. See the changelogs provided with these packages
|
|
|
128
|
+for further change information.
|
|
|
129
|
+
|
|
|
130
|
+.. ghc-package-list::
|
|
|
131
|
+
|
|
|
132
|
+ libraries/array/array.cabal: Dependency of ``ghc`` library
|
|
|
133
|
+ libraries/base/base.cabal: Core library
|
|
|
134
|
+ libraries/binary/binary.cabal: Dependency of ``ghc`` library
|
|
|
135
|
+ libraries/bytestring/bytestring.cabal: Dependency of ``ghc`` library
|
|
|
136
|
+ libraries/Cabal/Cabal/Cabal.cabal: Dependency of ``ghc-pkg`` utility
|
|
|
137
|
+ libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal: Dependency of ``ghc-pkg`` utility
|
|
|
138
|
+ libraries/containers/containers/containers.cabal: Dependency of ``ghc`` library
|
|
|
139
|
+ libraries/deepseq/deepseq.cabal: Dependency of ``ghc`` library
|
|
|
140
|
+ libraries/directory/directory.cabal: Dependency of ``ghc`` library
|
|
|
141
|
+ libraries/exceptions/exceptions.cabal: Dependency of ``ghc`` and ``haskeline`` library
|
|
|
142
|
+ libraries/filepath/filepath.cabal: Dependency of ``ghc`` library
|
|
|
143
|
+ compiler/ghc.cabal: The compiler itself
|
|
|
144
|
+ libraries/ghci/ghci.cabal: The REPL interface
|
|
|
145
|
+ libraries/ghc-boot/ghc-boot.cabal: Internal compiler library
|
|
|
146
|
+ libraries/ghc-boot-th/ghc-boot-th.cabal: Internal compiler library
|
|
|
147
|
+ libraries/ghc-compact/ghc-compact.cabal: Core library
|
|
|
148
|
+ libraries/ghc-heap/ghc-heap.cabal: GHC heap-walking library
|
|
|
149
|
+ libraries/ghc-prim/ghc-prim.cabal: Core library
|
|
|
150
|
+ libraries/haskeline/haskeline.cabal: Dependency of ``ghci`` executable
|
|
|
151
|
+ libraries/hpc/hpc.cabal: Dependency of ``hpc`` executable
|
|
|
152
|
+ libraries/integer-gmp/integer-gmp.cabal: Core library
|
|
|
153
|
+ libraries/mtl/mtl.cabal: Dependency of ``Cabal`` library
|
|
|
154
|
+ libraries/parsec/parsec.cabal: Dependency of ``Cabal`` library
|
|
|
155
|
+ libraries/pretty/pretty.cabal: Dependency of ``ghc`` library
|
|
|
156
|
+ libraries/process/process.cabal: Dependency of ``ghc`` library
|
|
|
157
|
+ libraries/stm/stm.cabal: Dependency of ``haskeline`` library
|
|
|
158
|
+ libraries/template-haskell/template-haskell.cabal: Core library
|
|
|
159
|
+ libraries/terminfo/terminfo.cabal: Dependency of ``haskeline`` library
|
|
|
160
|
+ libraries/text/text.cabal: Dependency of ``Cabal`` library
|
|
|
161
|
+ libraries/time/time.cabal: Dependency of ``ghc`` library
|
|
|
162
|
+ libraries/transformers/transformers.cabal: Dependency of ``ghc`` library
|
|
|
163
|
+ libraries/unix/unix.cabal: Dependency of ``ghc`` library
|
|
|
164
|
+ libraries/Win32/Win32.cabal: Dependency of ``ghc`` library
|
|
|
165
|
+ libraries/xhtml/xhtml.cabal: Dependency of ``haddock`` executable |
|
|
\ No newline at end of file |