diff options
author | Arnaud Charlet <charlet@adacore.com> | 2020-02-10 15:18:47 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-08 03:51:04 -0400 |
commit | 7907619e7737b6cb38ee334996a7d7a33bb7a1d6 (patch) | |
tree | 8ee3827a254799a2e8f3be6fdbe405ee077451a5 /gcc/ada/sem_ch3.ads | |
parent | b4aa6e2978408f0f45fe1074481cfd4044947ab9 (diff) | |
download | gcc-7907619e7737b6cb38ee334996a7d7a33bb7a1d6.zip gcc-7907619e7737b6cb38ee334996a7d7a33bb7a1d6.tar.gz gcc-7907619e7737b6cb38ee334996a7d7a33bb7a1d6.tar.bz2 |
[Ada] Remove processing of SPARK_05 restriction
2020-06-08 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* exp_aggr.adb, exp_ch6.adb, par-ch11.adb, par-ch6.adb,
par-ch7.adb, par-prag.adb, restrict.adb, restrict.ads,
scans.ads, scng.adb, sem_aggr.adb, sem_attr.adb, sem_ch11.adb,
sem_ch12.adb, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
sem_ch5.adb, sem_ch6.adb, sem_ch7.adb, sem_ch8.adb, sem_ch9.adb,
sem_res.adb, sem_util.adb, sem_util.ads, snames.ads-tmpl,
gnatbind.adb, libgnat/s-rident.ads,
doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:
Remove processing of SPARK_05 restriction.
* gnat_rm.texi: Regenerate.
* opt.ads: Remove processing of old checksum which is now
handled by gprbuild directly.
Diffstat (limited to 'gcc/ada/sem_ch3.ads')
-rw-r--r-- | gcc/ada/sem_ch3.ads | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/ada/sem_ch3.ads b/gcc/ada/sem_ch3.ads index 1d1d983..02fe39b 100644 --- a/gcc/ada/sem_ch3.ads +++ b/gcc/ada/sem_ch3.ads @@ -195,8 +195,7 @@ package Sem_Ch3 is (N : Node_Id; Related_Nod : Node_Id; Related_Id : Entity_Id := Empty; - Suffix_Index : Nat := 1; - In_Iter_Schm : Boolean := False); + Suffix_Index : Nat := 1); -- Process an index that is given in an array declaration, an entry -- family declaration or a loop iteration. The index is given by an index -- declaration (a 'box'), or by a discrete range. The later can be the name @@ -204,8 +203,7 @@ package Sem_Ch3 is -- -- Related_Nod is the node where the potential generated implicit types -- will be inserted. The next last parameters are used for creating the - -- name. In_Iter_Schm is True if Make_Index is called on the discrete - -- subtype definition in an iteration scheme. + -- name. procedure Make_Class_Wide_Type (T : Entity_Id); -- A Class_Wide_Type is created for each tagged type definition. The @@ -265,8 +263,7 @@ package Sem_Ch3 is T : Entity_Id; Subtyp : Entity_Id := Empty; Check_List : List_Id := No_List; - R_Check_Off : Boolean := False; - In_Iter_Schm : Boolean := False); + R_Check_Off : Boolean := False); -- Process a range expression that appears in a declaration context. The -- range is analyzed and resolved with the base type of the given type, and -- an appropriate check for expressions in non-static contexts made on the @@ -277,8 +274,7 @@ package Sem_Ch3 is -- when the subprogram is called from Build_Record_Init_Proc and is used to -- return a set of constraint checking statements generated by the Checks -- package. R_Check_Off is set to True when the call to Range_Check is to - -- be skipped. In_Iter_Schm is True if Process_Range_Expr_In_Decl is called - -- on the discrete subtype definition in an iteration scheme. + -- be skipped. -- -- If Subtyp is given, then the range is for the named subtype Subtyp, and -- in this case the bounds are captured if necessary using this name. |