https://gcc.gnu.org/g:0b6cbdff0ab2ff35667481f03ca856815a96a831

commit 0b6cbdff0ab2ff35667481f03ca856815a96a831
Author: Mikael Morin <mik...@gcc.gnu.org>
Date:   Mon Mar 17 19:09:18 2025 +0100

    Suppression mise à jour upper bound.

Diff:
---
 gcc/fortran/trans-array.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/fortran/trans-array.cc b/gcc/fortran/trans-array.cc
index bb61a3bdc953..9a66f722e157 100644
--- a/gcc/fortran/trans-array.cc
+++ b/gcc/fortran/trans-array.cc
@@ -2546,7 +2546,6 @@ trans_array_constructor (gfc_ss * ss, locus * where)
                             gfc_array_index_type,
                             offsetvar, gfc_index_one_node);
       tmp = gfc_evaluate_now (tmp, &outer_loop->pre);
-      gfc_conv_descriptor_ubound_set (&loop->pre, desc, gfc_rank_cst[0], tmp);
       if (*loop_ubound0 && VAR_P (*loop_ubound0))
        gfc_add_modify (&outer_loop->pre, *loop_ubound0, tmp);
       else

Reply via email to