https://gcc.gnu.org/g:3ac4a76979bf2c963d81cf19d0e5782763e26544

commit 3ac4a76979bf2c963d81cf19d0e5782763e26544
Author: Mikael Morin <[email protected]>
Date:   Fri Oct 16 15:24:54 2026 +0200

    Correction partielle is_contiguous_4

Diff:
---
 gcc/fortran/trans-array.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gcc/fortran/trans-array.cc b/gcc/fortran/trans-array.cc
index fe145f8152e9..9380e62c8568 100644
--- a/gcc/fortran/trans-array.cc
+++ b/gcc/fortran/trans-array.cc
@@ -8202,9 +8202,11 @@ get_array_descriptor (tree expr)
                      "data") == 0
              && GFC_DESCRIPTOR_TYPE_P (TREE_TYPE (base)))
            return base;
+         else
+           decl = NULL_TREE;
        }
-
-      decl = NULL_TREE;
+      else
+       decl = NULL_TREE;
     }
 
   if (decl)

Reply via email to