projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336aa63
)
[Ada] Potential read of uninitialized variable in exp_dist.adb
author
Arnaud Charlet
<charlet@adacore.com>
Wed, 11 Nov 2020 16:32:34 +0000
(11:32 -0500)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Mon, 30 Nov 2020 14:16:18 +0000
(09:16 -0500)
gcc/ada/
* exp_dist.adb (RCI_Cache): Initialize.
gcc/ada/exp_dist.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_dist.adb
b/gcc/ada/exp_dist.adb
index 760a4123216c14a0625271a3e3d1f4939c9d244a..2d3f75d51e86ea51a32c94f0d3229a3b693e77e0 100644
(file)
--- a/
gcc/ada/exp_dist.adb
+++ b/
gcc/ada/exp_dist.adb
@@
-902,7
+902,7
@@
package body Exp_Dist is
-- Local variables and structures --
------------------------------------
- RCI_Cache : Node_Id;
+ RCI_Cache : Node_Id
:= Empty
;
-- Needs comments ???
Output_From_Constrained : constant array (Boolean) of Name_Id :=