[Patch, fortran] LBOUND/UBOUND/SHAPE assumed rank support
Tobias Burnus
burnus@net-b.de
Thu Aug 2 14:48:00 GMT 2012
Hello Mikael,
thanks for your patch series, which not only implements missing parts of
the assumed-rank support but also fixes some buglets such as the
set_loop_bounds setting or the shape setting for assumed ranks. The
patch is okay.
Tobias
On 08/02/2012 04:17 PM, Mikael Morin wrote:
> Hello,
>
> as promised, I submit the patch (split to 5 pieces) adding support for
> assumed rank actual arguments to the LBOUND/UBOUND/SHAPE intrinsics in
> the non-scalar case (without the DIM argument).
>
> Patch 1: Disable shape setting and simplification for assumed rank.
> Patch 2: Move and rename get_rank_from_desc to gfc_conv_descriptor_rank.
> Patch 3: Fix set_loop_bounds #1 (optional).
> Patch 4: Fix set_loop_bounds #2.
> Patch 5: Properly setup the scalarizer in the {l,u}bound(assumed_rank)
> cases.
>
> More details in the patch files.
>
> Regression tested on x86_64-unknown-linux-gnu. OK for trunk?
>
> Mikael
>
>
>
>
>
More information about the Fortran
mailing list