public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2201] [Ada] Initialize local variables related to static expression functions
@ 2021-07-09 12:38 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-09 12:38 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1f72ec808b2a6f95f969bc9a1a13af1f310e1678
commit r12-2201-g1f72ec808b2a6f95f969bc9a1a13af1f310e1678
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Wed Jun 9 01:04:35 2021 +0200
[Ada] Initialize local variables related to static expression functions
gcc/ada/
* sem_ch6.adb (Analyze_Expression_Function): Initialize Orig_N
and Typ variables.
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 d5432536846..78a076cf51a 100644
--- 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-09 12:38 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:38 [gcc r12-2201] [Ada] Initialize local variables related to static 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).