Division by zero

Robert Dewar dewar@adacore.com
Sat Feb 10 13:35:00 GMT 2007


Jie Zhang wrote:

> The code I posted in my first email is from libgloss/libnosys/_exit.c.
> It's used to cause an exception deliberately. From your replies, it
> seems it should find another way to do that.

Any code that tries to raise an exception deliberately is certainly
depending on undefined behavior, so it has to be very careful about
how it is written!



More information about the Gcc mailing list