diff options
author | Claire Dross <dross@adacore.com> | 2020-07-21 17:37:23 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-21 03:22:43 -0400 |
commit | 73764bae1d416524fc06e0f01f81c7274ec0937b (patch) | |
tree | 2c2b4b1603887bf2adc5e1e115e2f14b0204d1c6 /gcc/tree-vrp.c | |
parent | 19e9cf7a1782100c1f8740c9ead67cc5d372b1c9 (diff) | |
download | gcc-73764bae1d416524fc06e0f01f81c7274ec0937b.zip gcc-73764bae1d416524fc06e0f01f81c7274ec0937b.tar.gz gcc-73764bae1d416524fc06e0f01f81c7274ec0937b.tar.bz2 |
[Ada] Raise Capacity_Error on formal vector insertion
gcc/ada/
* libgnat/a-cofove.adb (Copy): Add explanation in case of
Capacity_Error.
(Insert_Space): Raise Capacity_Error if the new length is
greater than the capacity.
(Reserve_Capacity): Raise Capacity_Error instead of
Constraint_Error.
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions