aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-12-04 00:21:20 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-12-04 00:21:20 +0000
commitf36cb8c79d3479cf8c9d5233f3f9cc26b2c5c457 (patch)
tree65580530cf985c28920ebd508ec6395692f55525 /gcc/fortran/ChangeLog
parent846c0b397b5c1b4ff6c68d83af99aff2aa80a162 (diff)
downloadgcc-f36cb8c79d3479cf8c9d5233f3f9cc26b2c5c457.zip
gcc-f36cb8c79d3479cf8c9d5233f3f9cc26b2c5c457.tar.gz
gcc-f36cb8c79d3479cf8c9d5233f3f9cc26b2c5c457.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r--gcc/fortran/ChangeLog37
1 files changed, 37 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 2f4e492..86b70c7 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,40 @@
+2024-12-03 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/102689
+ * trans-array.cc (get_array_ref_dim_for_loop_dim): Use the arg1
+ class container carried in ss->info as the seed for a lhs in
+ class valued transformational intrinsic calls that are not the
+ rhs of an assignment. Otherwise, the lhs variable expression is
+ taken from the loop chain. For this latter case, the _vptr and
+ _len fields are set.
+ (gfc_trans_create_temp_array): Use either the lhs expression
+ seeds to build a class variable that will take the returned
+ descriptor as its _data field. In the case that the arg1 expr.
+ is used, 'atmp' must be marked as unused, a typespec built with
+ the correct rank and the _vptr and _len fields set. The element
+ size is provided for the temporary allocation and to set the
+ descriptor span.
+ (gfc_array_init_size): When an intrinsic type scalar expr3 is
+ used in allocation of a class array, use its element size in
+ the descriptor dtype.
+ * trans-expr.cc (gfc_conv_class_to_class): Class valued
+ transformational intrinsics return the pointer to the array
+ descriptor as the _data field of a class temporary. Extract
+ directly and return the address of the class temporary.
+ (gfc_conv_procedure_call): store the expression for the first
+ argument of a class valued transformational intrinsic function
+ in the ss info class_container field. Later, use its type as
+ the element type in the call to gfc_trans_create_temp_array.
+ (fcncall_realloc_result): Add a dtype argument and use it in
+ the descriptor, when available.
+ (gfc_trans_arrayfunc_assign): For class lhs, build a dtype with
+ the lhs rank and the rhs element size and use it in the call to
+ fcncall_realloc_result.
+
+2024-12-03 Tobias Burnus <tburnus@baylibre.com>
+
+ * trans-decl.cc (gfc_finish_var_decl): Remove setting the alignment.
+
2024-11-29 Andrew Pinski <quic_apinski@quicinc.com>
PR fortran/117843