diff options
author | Javier Miranda <miranda@adacore.com> | 2007-06-06 12:22:41 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-06-06 12:22:41 +0200 |
commit | 11b4899f8af0a089ddbbdd10c2c23564f72c9cd8 (patch) | |
tree | 7bee10dc496684afc4a3a6997b07500098601600 /gcc/ada/stringt.adb | |
parent | 47eb2d8d9a68384b8e9dc8e7e617b363c94cc10f (diff) | |
download | gcc-11b4899f8af0a089ddbbdd10c2c23564f72c9cd8.zip gcc-11b4899f8af0a089ddbbdd10c2c23564f72c9cd8.tar.gz gcc-11b4899f8af0a089ddbbdd10c2c23564f72c9cd8.tar.bz2 |
checks.ads, checks.adb (Apply_Address_Clause_Check): Handle case in which the address-clause is applied to in-mode actuals (allowed...
2007-04-20 Javier Miranda <miranda@adacore.com>
Robert Dewar <dewar@adacore.com>
Ed Schonberg <schonberg@adacore.com>
* checks.ads, checks.adb (Apply_Address_Clause_Check): Handle case in
which the address-clause is applied to in-mode actuals (allowed by
13.1(22)).
(Apply_Discriminant_Check): Do not generate a check if the type is
constrained by a current instance.
(Activate_Division_Check): New procedure
(Activate_Overflow_Check): New procedure
(Activate_Range_Check): New procedure
Call these new Activate procedures instead of setting flags directly
(Apply_Array_Size_Check): Removed, no longer needed.
Code clean up: remove obsolete code related to GCC 2.
(Get_E_Length): Protect against bomb in case scope is standard
(Selected_Range_Checks): If the node to be checked is a conversion to
an unconstrained array type, and the expression is a slice, use the
bounds of the slice to construct the required constraint checks.
Improve NOT NULL error messages
(Apply_Constraint_Check): If the context is a null-excluding access
type, diagnose properly the literal null.
From-SVN: r125388
Diffstat (limited to 'gcc/ada/stringt.adb')
0 files changed, 0 insertions, 0 deletions