[Patch, fortran] was - Re: Possible bug in gfortran: array sections in actual arguments
Tobias Burnus
burnus@net-b.de
Wed Jan 28 20:12:00 GMT 2009
Paul Richard Thomas wrote:
>>>> I am of the opinion that this is a P1 for fortran and should be fixed
>>>> now - does anybody else feel the same way?
>>>>
>>>>
>>> Seconded.
>>>
>>>
>> Thirded? In any case, as stated in IRC, the patch posted in the PR is OK
>> for 4.4.0 with the test case and changelog Paul has promised.
>>
>
> Please find attached the full patch; bootstrapped and regtested on
> FC9/x86_i64 - OK?
>
Looks good.
Thanks,
Tobias
> 2009-01-28 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/38852
> PR fortran/39006
> * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
> descriptor ubound for UBOUND, when the array lbound == 1.
>
> 2009-01-28 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/38852
> PR fortran/39006
> * gfortran.dg/bound_6.f90: New test.
>
More information about the Gcc-patches
mailing list