[gcc/devel/coarray_native] Add initialization to orig_desc in gfc_deallocate_with_status.
Thomas Kथघnig
tkoenig@gcc.gnu.org
Sun Oct 11 15:32:57 GMT 2020
https://gcc.gnu.org/g:b96fdc7b84eb288dea0c3e99a212e6483007a35a
commit b96fdc7b84eb288dea0c3e99a212e6483007a35a
Author: Thomas Koenig <tkoenig@gcc.gnu.org>
Date: Sun Oct 11 17:30:41 2020 +0200
Add initialization to orig_desc in gfc_deallocate_with_status.
gcc/fortran/ChangeLog:
* trans.c (gfc_deallocate_with_status): Add initialization to
orig_desc.
Diff:
---
gcc/fortran/trans.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c
index 1bd98016954..7d9cd324828 100644
--- a/gcc/fortran/trans.c
+++ b/gcc/fortran/trans.c
@@ -1352,7 +1352,7 @@ gfc_deallocate_with_status (tree pointer, tree status, tree errmsg,
tree cond, tmp, error;
tree status_type = NULL_TREE;
tree token = NULL_TREE;
- tree orig_desc;
+ tree orig_desc = NULL_TREE;
gfc_coarray_deregtype caf_dereg_type = GFC_CAF_COARRAY_DEREGISTER;
if (coarray_dealloc_mode >= GFC_CAF_COARRAY_ANALYZE )
More information about the Gcc-cvs
mailing list