[gcc(refs/users/mikael/heads/refactor_descriptor_v05)] Correction régression char_allocation_1
Mikael Morin
mikael@gcc.gnu.org
Fri Jun 13 15:05:25 GMT 2025
https://gcc.gnu.org/g:41b3b4464cf618601a72deb33cfef636e9ac05df
commit 41b3b4464cf618601a72deb33cfef636e9ac05df
Author: Mikael Morin <mikael@gcc.gnu.org>
Date: Thu May 15 17:25:01 2025 +0200
Correction régression char_allocation_1
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 018290923ef2..9bdf0b05022e 100644
--- a/gcc/fortran/trans-array.cc
+++ b/gcc/fortran/trans-array.cc
@@ -6277,7 +6277,6 @@ gfc_trans_array_bounds (tree type, gfc_symbol * sym, tree * poffset,
tree eltype = gfc_get_element_type (type);
tree elem_len = fold_convert_loc (input_location, gfc_array_index_type,
TYPE_SIZE_UNIT (eltype));
- gcc_assert (INTEGER_CST_P (elem_len));
size = gfc_index_one_node;
offset = gfc_index_zero_node;
tree spacing = GFC_TYPE_ARRAY_SPACING (type, 0);
More information about the Gcc-cvs
mailing list