projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e347e6c
)
[Ada] Initialize local variables related to static expression functions
author
Piotr Trojanek
<trojanek@adacore.com>
Tue, 8 Jun 2021 23:04:35 +0000
(
01:04
+0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Fri, 9 Jul 2021 12:35:27 +0000
(12:35 +0000)
gcc/ada/
* sem_ch6.adb (Analyze_Expression_Function): Initialize Orig_N
and Typ variables.
gcc/ada/sem_ch6.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_ch6.adb
b/gcc/ada/sem_ch6.adb
index
d543253
..
78a076c
100644
(file)
--- a/
gcc/ada/sem_ch6.adb
+++ b/
gcc/ada/sem_ch6.adb
@@
-298,9
+298,9
@@
package body Sem_Ch6 is
Asp : Node_Id;
New_Body : Node_Id;
New_Spec : Node_Id;
- Orig_N : Node_Id;
+ Orig_N : Node_Id
:= Empty
;
Ret : Node_Id;
- Typ : Entity_Id;
+ Typ : Entity_Id
:= Empty
;
Def_Id : Entity_Id := Empty;
Prev : Entity_Id;