aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-03-01 00:16:41 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-03-01 00:16:41 +0000
commitb05f474c8f7768dad50a99a2d676660ee4db09c6 (patch)
tree4bcf3e6094635b1cb80060a77755d991850172f7 /gcc/fortran/ChangeLog
parentc0d8a64e72324d1c2981da21a66394bf8f7a2889 (diff)
Daily bump.
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r--gcc/fortran/ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 644d9ec8098..f6b68306987 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,34 @@
+2024-02-29 Alexander Westbrooks <alexanderw@gcc.gnu.org>
+
+ PR fortran/82943
+ PR fortran/86148
+ PR fortran/86268
+ * decl.cc (gfc_get_pdt_instance): Set the PDT instance field
+ 'f2k_derived', if not set already, to point to the given
+ PDT template 'f2k_derived' namespace in order to give the
+ PDT instance referential access to the typebound procedures
+ of the template.
+ * gfortran.h (gfc_pdt_is_instance_of): Add prototype.
+ * resolve.cc (resolve_typebound_procedure): If the derived type
+ does not have the attribute 'pdt_template' set, compare the
+ dummy argument to the 'resolve_bindings_derived' type like usual.
+ If the derived type is a 'pdt_template', then check if the
+ dummy argument is an instance of the PDT template. If the derived
+ type is a PDT template, and the dummy argument is an instance of
+ that template, but the dummy argument 'param_list' is not
+ SPEC_ASSUMED, check if there are any LEN parameters in the
+ dummy argument. If there are no LEN parameters, then this implies
+ that there are only KIND parameters in the dummy argument.
+ If there are LEN parameters, this would be an error, for all
+ LEN parameters for the dummy argument MUST be assumed for
+ typebound procedures of PDTs.
+ (resolve_pdt): Add a check for ALLOCATABLE and POINTER attributes for
+ SPEC_DEFERRED parameters of PDT class symbols. ALLOCATABLE and
+ POINTER attributes for a PDT class symbol are stored in the
+ 'class_pointer' and 'allocatable' attributes of the '_data'
+ component respectively.
+ * symbol.cc (gfc_pdt_is_instance_of): New function.
+
2024-02-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/114012