diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-11-06 12:01:52 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-14 10:51:52 -0500 |
commit | 3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9 (patch) | |
tree | 2242de0f045bdfb09362bb06f4a0693e9057421e /gcc | |
parent | a98c6ffa0baccb68a5e4fdf09de9ad984b41532e (diff) | |
download | gcc-3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9.zip gcc-3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9.tar.gz gcc-3cde9f1cc56d7039f44d3cd4f4ebebd02815b8a9.tar.bz2 |
[Ada] Remove double initialization of the known value cache
gcc/ada/
* sem_eval.adb (CV_Cache): Remove initialization at elaboration.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_eval.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb index 198f72f..b519016 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. |