[Ada] Avoid repeated analysis of constraint ranges

gcc/ada/

	* sem_ch3.adb (Constraint_Index): Remove redundant problematic
	analysis.
This commit is contained in:
Piotr Trojanek 2021-01-24 16:02:49 +01:00 committed by Pierre-Marie de Rodat
parent 05b7561e37
commit 60b803a7f1

View File

@ -14171,8 +14171,6 @@ package body Sem_Ch3 is
then
-- A Range attribute will be transformed into N_Range by Resolve
Analyze (S);
Set_Etype (S, T);
R := S;
Process_Range_Expr_In_Decl (R, T);