diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-20 14:21:35 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-20 14:21:35 +0000 |
commit | 3cb1092e5e91da4b63350256b2a5868df53fae51 (patch) | |
tree | 05aa04b147d665aec51bbecb491a14aa712e1102 /gcc/ada/a-cbmutr.adb | |
parent | cdf1647b45ce0a2d0814f02a82c23903205407a8 (diff) | |
download | gcc-3cb1092e5e91da4b63350256b2a5868df53fae51.tar.gz |
2014-02-20 Sergey Rybin <rybin@adacore.com frybin>
* gnat_ugn.texi, vms_data.ads (gnatelim): Add description of
project-specific options.
2014-02-20 Ed Schonberg <schonberg@adacore.com>
* a-cbdlli.adb (Insert): When capacity exceeded, raise Capacity_Error,
not Constraint_Error.
* a-cbmutr.adb (Append_Child, Insert_Child, Prepend_Child): Ditto.
* sem_ch5.adb: Code clean up.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-cbmutr.adb')
-rw-r--r-- | gcc/ada/a-cbmutr.adb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/a-cbmutr.adb b/gcc/ada/a-cbmutr.adb index e36bca72608..aa754149067 100644 --- a/gcc/ada/a-cbmutr.adb +++ b/gcc/ada/a-cbmutr.adb @@ -397,7 +397,7 @@ package body Ada.Containers.Bounded_Multiway_Trees is end if; if Container.Count > Container.Capacity - Count then - raise Constraint_Error + raise Capacity_Error with "requested count exceeds available storage"; end if; @@ -1538,7 +1538,7 @@ package body Ada.Containers.Bounded_Multiway_Trees is end if; if Container.Count > Container.Capacity - Count then - raise Constraint_Error + raise Capacity_Error with "requested count exceeds available storage"; end if; @@ -1614,7 +1614,7 @@ package body Ada.Containers.Bounded_Multiway_Trees is end if; if Container.Count > Container.Capacity - Count then - raise Constraint_Error + raise Capacity_Error with "requested count exceeds available storage"; end if; @@ -2237,7 +2237,7 @@ package body Ada.Containers.Bounded_Multiway_Trees is end if; if Container.Count > Container.Capacity - Count then - raise Constraint_Error + raise Capacity_Error with "requested count exceeds available storage"; end if; |