On Sat, 30 Jan 2021, gmhwxi wrote:

But this is kind of like punting the problem to the user :(
The compiler should really generate code that raises an exception
(just like in the case of 1/0).

You can do that with -ftrapv.

--
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ats-lang-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/c258b954-37c0-94dc-cce-1e70fc36b590%40elronnd.net.

Reply via email to