]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/sem_res.adb
checks.ads, [...]: Minor changes throughout for new overflow checking.
authorRobert Dewar <dewar@adacore.com>
Tue, 6 Nov 2012 11:11:15 +0000 (11:11 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 6 Nov 2012 11:11:15 +0000 (12:11 +0100)
commita7f1b24f810a5f3312fee91a63f507da952498f3
treebf5fc789888a9885070c8aefd76af66e8c2fcc68
parentc4ae9877307939806b3f161f55ce635002227bad
checks.ads, [...]: Minor changes throughout for new overflow checking.

2012-11-06  Robert Dewar  <dewar@adacore.com>

* checks.ads, checks.adb, exp_ch4.adb: Minor changes throughout for
new overflow checking.
* exp_util.adb (Insert_Actions): Remove special casing of
Overflow_Check.
* gnat1drv.adb (Adjust_Global_Switches): Fixes for new handling
of overflow checks.
* sem.adb (Analyze): Remove special casing of Overflow_Check
(Analyze_List): ditto.
* sem_prag.adb (Analyze_Pragma, case Overflow_Checks): Remove
SUPPRESSED and change CHECKED to STRICT.
* sem_res.adb (Analyze_And_Resolve): No longer treat
Overflow_Check specially.
(Preanalyze_And_Resolve): ditto.
(Resolve): ditto.
* snames.ads-tmpl: Replace Name_Checked by Name_Strict.
* switch-c.adb (Get_Overflow_Mode): Eliminate 0 setting,
CHECKED => STRICT.
* types.ads (Overflow_Check_Type): Remove Suppressed, change
Checked to Strict (Suppress_Record): Overflow check controlled
by Suppress array.

From-SVN: r193233
12 files changed:
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/checks.ads
gcc/ada/exp_ch4.adb
gcc/ada/exp_util.adb
gcc/ada/gnat1drv.adb
gcc/ada/sem.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/snames.ads-tmpl
gcc/ada/switch-c.adb
gcc/ada/types.ads
This page took 0.057983 seconds and 5 git commands to generate.