public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/coarray_native] Add initialization to orig_desc in gfc_deallocate_with_status.
@ 2020-10-11 15:32 Thomas Kथघnig
  0 siblings, 0 replies; only message in thread
From: Thomas Kथघnig @ 2020-10-11 15:32 UTC (permalink / raw)
  To: gcc-cvs

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 )


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

only message in thread, other threads:[~2020-10-11 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 15:32 [gcc/devel/coarray_native] Add initialization to orig_desc in gfc_deallocate_with_status Thomas Kथघnig

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).