[Patch, fortran] was - Re: Possible bug in gfortran: array sections in actual arguments
Paul Richard Thomas
paul.richard.thomas@gmail.com
Wed Jan 28 19:09:00 GMT 2009
>>> 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?
Paul
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: application/octet-stream
Size: 2251 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090128/5d543080/attachment.obj>
More information about the Gcc-patches
mailing list