[gcc(refs/users/mikael/heads/refactor_descriptor_v05)] Correction régression dependency_12
Mikael Morin
mikael@gcc.gnu.org
Mon May 19 16:15:57 GMT 2025
https://gcc.gnu.org/g:f6b5ec63df9b3c6556e0f0ef49babbf5bae19167
commit f6b5ec63df9b3c6556e0f0ef49babbf5bae19167
Author: Mikael Morin <mikael@gcc.gnu.org>
Date: Tue Apr 15 17:42:09 2025 +0200
Correction régression dependency_12
Diff:
---
gcc/fortran/trans-decl.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/fortran/trans-decl.cc b/gcc/fortran/trans-decl.cc
index de2619ce8b00..86411ef9f222 100644
--- a/gcc/fortran/trans-decl.cc
+++ b/gcc/fortran/trans-decl.cc
@@ -1033,6 +1033,9 @@ update_type_bounds (tree type, tree lbound[GFC_MAX_DIMENSIONS],
tree ubound[GFC_MAX_DIMENSIONS],
tree spacing[GFC_MAX_DIMENSIONS], tree root_type, int dim)
{
+ if (dim > 0)
+ update_type_bounds (type, lbound, ubound, spacing, root_type, dim - 1);
+
tree current_lbound = lbound[dim];
if (current_lbound != NULL_TREE)
{
More information about the Gcc-cvs
mailing list