a-convec.ads, [...]: Declaration of subtype Extended_Index was changed.
2005-07-04 Matthew Heaney <heaney@adacore.com> * a-convec.ads, a-coinve.ads: Declaration of subtype Extended_Index was changed. * a-coinve.adb: Perform constraint checks explicitly. From-SVN: r101597
This commit is contained in:
parent
c8effb4f39
commit
d43d5ef7b5
1141
gcc/ada/a-coinve.adb
1141
gcc/ada/a-coinve.adb
File diff suppressed because it is too large
Load Diff
|
@ -48,8 +48,7 @@ pragma Preelaborate (Indefinite_Vectors);
|
|||
|
||||
subtype Extended_Index is Index_Type'Base
|
||||
range Index_Type'First - 1 ..
|
||||
Index_Type'Last +
|
||||
Boolean'Pos (Index_Type'Base'Last > Index_Type'Last);
|
||||
Index_Type'Min (Index_Type'Base'Last - 1, Index_Type'Last) + 1;
|
||||
|
||||
No_Index : constant Extended_Index := Extended_Index'First;
|
||||
|
||||
|
|
|
@ -46,8 +46,7 @@ pragma Preelaborate (Vectors);
|
|||
|
||||
subtype Extended_Index is Index_Type'Base
|
||||
range Index_Type'First - 1 ..
|
||||
Index_Type'Last +
|
||||
Boolean'Pos (Index_Type'Base'Last > Index_Type'Last);
|
||||
Index_Type'Min (Index_Type'Base'Last - 1, Index_Type'Last) + 1;
|
||||
|
||||
No_Index : constant Extended_Index := Extended_Index'First;
|
||||
|
||||
|
|
Loading…
Reference in New Issue