public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2192] [Ada] Refine types of local variables in analysis of expression functions
@ 2021-07-09 12:37 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-09 12:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8bab88ba7bec025ef9db7ed5cb8d525fceab8636

commit r12-2192-g8bab88ba7bec025ef9db7ed5cb8d525fceab8636
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Fri May 28 14:51:43 2021 +0200

    [Ada] Refine types of local variables in analysis of expression functions
    
    gcc/ada/
    
            * sem_ch6.adb (Analyze_Expression_Function): Change types local
            variables from Entity_Id to Node_Id.

Diff:
---
 gcc/ada/sem_ch6.adb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index aeb1cad2ac4..6bc72d65bf6 100644
--- 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));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-09 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 12:37 [gcc r12-2192] [Ada] Refine types of local variables in analysis of expression functions Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).