public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4666] Initialize variable.
@ 2021-10-25 14:44 Andrew Macleod
0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2021-10-25 14:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:387c665392366a543fb29badaee329533b32abb3
commit r12-4666-g387c665392366a543fb29badaee329533b32abb3
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Thu Oct 21 14:48:20 2021 -0400
Initialize variable.
gcc/fortran/
* trans-decl.c (gfc_conv_cfi_to_gfc): Initialize rank to NULL_TREE.
Diff:
---
gcc/fortran/trans-decl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index de624c82fcf..fe5511b5285 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -6668,7 +6668,7 @@ gfc_conv_cfi_to_gfc (stmtblock_t *init, stmtblock_t *finally,
stmtblock_t block;
gfc_init_block (&block);
tree cfi = build_fold_indirect_ref_loc (input_location, cfi_desc);
- tree rank, idx, etype, tmp, tmp2, size_var = NULL_TREE;
+ tree idx, etype, tmp, tmp2, size_var = NULL_TREE, rank = NULL_TREE;
bool do_copy_inout = false;
/* When allocatable + intent out, free the cfi descriptor. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-25 14:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 14:44 [gcc r12-4666] Initialize variable Andrew Macleod
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).