From: Piotr Trojanek Date: Fri, 6 Nov 2020 11:01:52 +0000 (+0100) Subject: [Ada] Remove double initialization of the known value cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9;p=gcc.git [Ada] Remove double initialization of the known value cache gcc/ada/ * sem_eval.adb (CV_Cache): Remove initialization at elaboration. --- diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb index 198f72fe085..b519016b46e 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.