From 3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Fri, 6 Nov 2020 12:01:52 +0100 Subject: [PATCH] [Ada] Remove double initialization of the known value cache gcc/ada/ * sem_eval.adb (CV_Cache): Remove initialization at elaboration. --- gcc/ada/sem_eval.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb index 198f72fe0854..b519016b46e5 100644 --- a/gcc/ada/sem_eval.adb +++ b/gcc/ada/sem_eval.adb @@ -124,7 +124,7 @@ package body Sem_Eval is type CV_Cache_Array is array (CV_Range) of CV_Entry; - CV_Cache : CV_Cache_Array := (others => (Node_High_Bound, Uint_0)); + CV_Cache : CV_Cache_Array; -- This is the actual cache, with entries consisting of node/value pairs, -- and the impossible value Node_High_Bound used for unset entries. -- 2.47.2