[Patch] Fortran: Improve gfc_array_kind for assumed rank; gfc_tree_array_size on 'tree'

Tobias Burnus tburnus@baylibre.com
Thu Feb 20 17:58:11 GMT 2025


Just to be clear: the following touches generic Fortran code and, hence, 
needs Fortran FE review (still pending):

Tobias Burnus wrote:
> (1) gfc_tree_array_size now can determine the array size not only from 
> the passed Fortran gfc_expr but also using a descriptor, passed as 
> gimple 'tree'.
>
> (2) Adds missing GFC_ARRAY_ASSUMED_RANK_{ALLOCATABLE,POINTER{,_CONT}} […]
>
> OK for mainline?

While changes to OpenMP-specific code in gfortran, it can be either 
OpenMP or Fortran approval.* – In any case,  code review is always 
welcome, whether required or not, whether done by an approved 
reviewer/maintainer or simple bystanders!

Tobias

(* Fortran only has reviewers (as some other parts of the compiler); 
while other code parts have maintainers. The difference is whether one 
can approve one own's patch or not. See MAINTAINERS for details.)



More information about the Fortran mailing list