4 ms·
Ouch, this is a nasty bug. Looks like it’s a secondary consequence of some arm specific issue in the 9.4 support for sized word primitive unlifted types. Good
by carterschonwald 4y ago
Ouch, this is a nasty bug. Looks like it’s a secondary consequence of some arm specific issue in the 9.4 support for sized word primitive unlifted types. Good thing folks caught it relatively early in the life cycle of ghc 9.4! (Ghc 8.10.7 is the most recent bug fix release in the 8.10 series, and I try to make sure I support it in my own hackery)
This looks to have a pretty straightforward fix hopefully.
In the space of miscompilation bugs this seems pretty easy to catch. A pretty nasty one happened in ghc 7.6/7.8 , where the register allocator didn’t realize float and double registers were the same registers, so code that mixed the type had total garbage!