Division by zero

Jie Zhang jzhang918@gmail.com
Sat Feb 10 13:45:00 GMT 2007

On 2/10/07, Robert Dewar <dewar@adacore.com> wrote:
> 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!
I'm going to use an asm ().


More information about the Gcc mailing list