projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98c6ff
)
[Ada] Remove double initialization of the known value cache
author
Piotr Trojanek
<trojanek@adacore.com>
Fri, 6 Nov 2020 11:01:52 +0000
(12:01 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Mon, 14 Dec 2020 15:51:52 +0000
(10:51 -0500)
gcc/ada/
* sem_eval.adb (CV_Cache): Remove initialization at elaboration.
gcc/ada/sem_eval.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_eval.adb
b/gcc/ada/sem_eval.adb
index 198f72fe0854b39ea1d6cefdc0530424fa889da8..b519016b46e54d8001ade65419c129fe963c709c 100644
(file)
--- 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.