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:
48096ca
)
[Ada] Refine types of local variables in analysis of expression functions
author
Piotr Trojanek
<trojanek@adacore.com>
Fri, 28 May 2021 12:51:43 +0000
(14:51 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Fri, 9 Jul 2021 12:35:24 +0000
(12:35 +0000)
gcc/ada/
* sem_ch6.adb (Analyze_Expression_Function): Change types local
variables from Entity_Id to Node_Id.
gcc/ada/sem_ch6.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_ch6.adb
b/gcc/ada/sem_ch6.adb
index
aeb1cad
..
6bc72d6
100644
(file)
--- a/
gcc/ada/sem_ch6.adb
+++ b/
gcc/ada/sem_ch6.adb
@@
-640,9
+640,9
@@
package body Sem_Ch6 is
if Present (Parameter_Specifications (New_Spec)) then
declare
Form_New_Def : Entity_Id;
- Form_New_Spec :
Entity
_Id;
+ Form_New_Spec :
Node
_Id;
Form_Old_Def : Entity_Id;
- Form_Old_Spec :
Entity
_Id;
+ Form_Old_Spec :
Node
_Id;
begin
Form_New_Spec := First (Parameter_Specifications (New_Spec));