***ping***

On Sun, 1 Mar 2020 at 16:00, Paul Richard Thomas
<paul.richard.tho...@gmail.com> wrote:
>
> This is a straightforward patch, especially for the bug in the PR! The
> additional fix ensures that expr%LEN always returns a scalar. Please
> note the comment in resolve.c about bounds checking.
>
> Regtests on trunk - OK for 9- and 10-branches?
>
> Paul
>
> 2020-03-01  Paul Thomas  <pa...@gcc.gnu.org>
>
>     PR fortran/93581
>     * resolve.c (gfc_resolve_ref): Modify array refs to be elements
>     if the ref chain ends in INQUIRY_LEN.
>     * trans-array.c (gfc_get_dataptr_offset): Provide the offsets
>     for INQUIRY_RE and INQUIRY_IM.
>
> 2020-03-01  Paul Thomas  <pa...@gcc.gnu.org>
>
>     PR fortran/93581
>     * gfortran.dg/inquiry_type_ref_6.f90 : New test.



-- 
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein

Reply via email to