Use dynamic linking only if the GHC package is compiled with -dynamic (#8376)
Fix up the conditions for zeroing slop (#8402)
Fix a bug in the canned selector code when profiling.
Future-proof code for upcoming `array-0.5.0.0`

This way CPP conditionals can be avoided for the transition period.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Relax build-deps to allow upcoming `array-0.5.0.0`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Update Cabal to current upstream `1.18` branch tip

This is mainly to relax the `array` build-dep to
allow the upcoming `array-0.5.0.0` package.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Reject spurious \end{code} in literate mode (#8430)
If exceptions are blocked, add stack overflow to blocked exceptions list. Fixes #8303.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Do not copy stack after stack overflow, fixes #8435

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>