]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 1 Oct 2012 13:18:22 +0000 (15:18 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 1 Oct 2012 13:18:22 +0000 (15:18 +0200)
commita91e9ac73ddc90a31f5f9afcbc73558cb0e56006
tree1e9890433ea1e4a8576e1dd8596d25f5c826961f
parent6cb3037c69f90344dd3c5f9504b0a79422932b12
[multiple changes]

2012-10-01  Robert Dewar  <dewar@adacore.com>

* checks.adb (Apply_Divide_Checks): New name for
Apply_Divide_Check (Minimize_Eliminate_Overflow_Checks):
Add code to handle division (and rem and mod) properly.
(Apply_Division_Check): New procedure (Apply_Divide_Checks):
Use Apply_Division_Check (Apply_Divide_Checks): Use
Apply_Arithmetic_Overflow_Minimized_Eliminated.
* checks.ads (Apply_Divide_Checks): New name for
Apply_Divide_Check, also add clearer documentation for this
routine and put in alfa order.
* exp_ch4.adb (Apply_Divide_Checks): New name for
Apply_Divide_Check.
* s-bignum.adb (To_Bignum): Handle largest negative integer
properly.
* sem.adb (Analyze): Handle overflow suppression correctly
(Analyze_List): Handle overflow suppression correctly
* sem_res.adb (Analyze_And_Resolve): Handle overflow suppression
correctly.

2012-10-01  Vasiliy Fofanov  <fofanov@adacore.com>

* s-oscons-tmplt.c, g-socket.ads: Revert previous change, breaks VMS.

From-SVN: r191920
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/checks.ads
gcc/ada/exp_ch4.adb
gcc/ada/g-socket.ads
gcc/ada/s-bignum.adb
gcc/ada/s-oscons-tmplt.c
gcc/ada/sem.adb
gcc/ada/sem_res.adb