aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-11-11 11:32:34 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-11-30 09:16:18 -0500
commitb514643caeac517d06482a70f8fa38328601dd7a (patch)
treeb953bbd889f082e36697f3faf4ba0f429bbacdfc
parent336aa630a0c219e947afeea6844e09dfe17957e5 (diff)
downloadgcc-b514643caeac517d06482a70f8fa38328601dd7a.zip
gcc-b514643caeac517d06482a70f8fa38328601dd7a.tar.gz
gcc-b514643caeac517d06482a70f8fa38328601dd7a.tar.bz2
[Ada] Potential read of uninitialized variable in exp_dist.adb
gcc/ada/ * exp_dist.adb (RCI_Cache): Initialize.
-rw-r--r--gcc/ada/exp_dist.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_dist.adb b/gcc/ada/exp_dist.adb
index 760a412..2d3f75d 100644
--- 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 :=