diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-02-09 18:03:48 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-08 03:51:08 -0400 |
commit | bbe7d67f5ffdadeee67e0060bde212d09e38a704 (patch) | |
tree | 090e88aca5d110cf337deec15b13225500bb1a95 /gcc/ada/exp_ch5.adb | |
parent | 6476fc372a684ff42712c10508dddf0e6d229df5 (diff) | |
download | gcc-bbe7d67f5ffdadeee67e0060bde212d09e38a704.zip gcc-bbe7d67f5ffdadeee67e0060bde212d09e38a704.tar.gz gcc-bbe7d67f5ffdadeee67e0060bde212d09e38a704.tar.bz2 |
[Ada] Remove the Has_Dynamic_Range_Check flag
2020-06-08 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* atree.adb (New_Copy): Do not clear Has_Dynamic_Range_Check.
* checks.ads (Append_Range_Checks): Remove Flag_Node parameter.
(Insert_Range_Checks): Likewise and remove default value of
Static_Loc parameter.
* checks.adb (Append_Range_Checks): Remove Flag_Node parameter.
Do not test and set Has_Dynamic_Range_Check.
(Insert_Range_Checks): Likewise and remove default value of
Static_Loc parameter.
* csinfo.adb (CSinfo): Remove 'L' from [NEUB]_Fields pattern and
do not handle Has_Dynamic_Range_Check.
* exp_ch5.adb (Expand_N_Assignment_Statement): Remove argument
in call to Insert_Range_Checks.
* sem_ch3.adb (Analyze_Subtype_Declaration): Do not fiddle
with Has_Dynamic_Range_Check.
(Process_Range_Expr_In_Decl): Remove argument in calls to
Insert_Range_Checks and Append_Range_Checks.
* sinfo.ads (Has_Dynamic_Range_Check): Delete.
(Set_Has_Dynamic_Range_Check): Likewise.
* sinfo.adb (Has_Dynamic_Range_Check): Delete.
(Set_Has_Dynamic_Range_Check): Likewise.
* treepr.adb (Print_Node): Do not print Has_Dynamic_Range_Check.
Diffstat (limited to 'gcc/ada/exp_ch5.adb')
-rw-r--r-- | gcc/ada/exp_ch5.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/exp_ch5.adb b/gcc/ada/exp_ch5.adb index e565738..d69e147 100644 --- a/gcc/ada/exp_ch5.adb +++ b/gcc/ada/exp_ch5.adb @@ -2465,8 +2465,7 @@ package body Exp_Ch5 is (C_Es, N, Target_Typ, - Sloc (Lhs), - Lhs); + Sloc (Lhs)); end; end if; end if; |