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:
17d2669
)
Initialize variable.
author
Andrew MacLeod
<amacleod@redhat.com>
Thu, 21 Oct 2021 18:48:20 +0000
(14:48 -0400)
committer
Andrew MacLeod
<amacleod@redhat.com>
Mon, 25 Oct 2021 14:43:06 +0000
(10:43 -0400)
gcc/fortran/
* trans-decl.c (gfc_conv_cfi_to_gfc): Initialize rank to NULL_TREE.
gcc/fortran/trans-decl.c
patch
|
blob
|
history
diff --git
a/gcc/fortran/trans-decl.c
b/gcc/fortran/trans-decl.c
index
de624c8
..
fe5511b
100644
(file)
--- 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. */