------- Additional Comments From charlet at adacore dot com 2005-08-22 20:39 ------- Subject: Re: Dividing fixed point number by zero returns zero.
> This is a true front-end bug as on PPC divide by zero (in an instruction) > does not raise an exception so > there needs to be an extra check which should have been added by the front-end There is no such requirement in Ada that would force the compiler to map a PPC divide by zero to an Ada exception. If you want this kind of check, be sure to use -gnato. Is -gnato used here ? I suspect not, although the compilation command has not been provided as far as I can see. Arno -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23519