This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Put back change in s-arit64.adb


Arnaud Charlet <charlet@adacore.com> writes:

> Tested on x86-linux, committed on mainline.
> 
> Put back change that got removed accidentally by previous check-in.
> This change fixed the failure of Double_Divide to properly detect overflow
> in the case where the largest negative number is divided by minus one.
> 
> 2005-01-03  Robert Dewar  <dewar@adacore.com>
> 
> 	* s-arit64.adb (Double_Divide): Put back changes that got accidentally
> 	removed during the previous update (test properly for case of dividing
> 	largest negative number by -1, which generates overflow).
> 

 Was there a test case already posted for this problem? 


-- 
Thanks,
Jim

http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]