https://gcc.gnu.org/g:b1a40f35cd3279f2290dca0630ce894b7658894d

commit b1a40f35cd3279f2290dca0630ce894b7658894d
Author: Mikael Morin <[email protected]>
Date:   Thu Oct 9 22:21:11 2025 +0200

    Correction partielle coindexed_1.f90

Diff:
---
 gcc/fortran/trans-expr.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/fortran/trans-expr.cc b/gcc/fortran/trans-expr.cc
index 98e78f6ecf3f..b5f25c95641c 100644
--- a/gcc/fortran/trans-expr.cc
+++ b/gcc/fortran/trans-expr.cc
@@ -6603,6 +6603,9 @@ contiguous_argument (gfc_actual_arglist *arg)
       && expr->value.function.isym != nullptr)
     return false;
 
+  if (dummy == nullptr)
+    return true;
+
   if (dummy->intrinsicness == GFC_INTRINSIC_DUMMY_ARG)
     return false;

Reply via email to