https://gcc.gnu.org/g:4a1a2e74b7df7bc18c932cf9281a19537f675f85

commit 4a1a2e74b7df7bc18c932cf9281a19537f675f85
Author: Mikael Morin <mik...@gcc.gnu.org>
Date:   Mon Mar 17 17:00:05 2025 +0100

    Correction erreur bootstrap

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

diff --git a/gcc/fortran/trans-descriptor.cc b/gcc/fortran/trans-descriptor.cc
index c6594a9f3d18..0b42efb7da77 100644
--- a/gcc/fortran/trans-descriptor.cc
+++ b/gcc/fortran/trans-descriptor.cc
@@ -3742,8 +3742,8 @@ gfc_set_descriptor_for_assign_realloc (stmtblock_t 
*block, gfc_loopinfo *loop,
       offset = fold_build2_loc (input_location, MINUS_EXPR,
                                gfc_array_index_type,
                                offset, tmp2);
-      tree size1 = fold_build2_loc (input_location, MULT_EXPR,
-                                   gfc_array_index_type, tmp, size1);
+      size1 = fold_build2_loc (input_location, MULT_EXPR,
+                              gfc_array_index_type, tmp, size1);
     }
 
   /* Set the lhs descriptor and scalarizer offsets.  For rank > 1,

Reply via email to