Skip to content

Add arithmetic exception primops (#14664)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20-rts-exceptions into master

Fix #14664 (closed) by adding 3 primops to raise Overflow/Underflow/DivideByZero arithmetic exceptions.

It is required by !2231 (closed) to replace the hack suggested in #14664 (closed) that we currently use.

Merge request reports