This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] was - Re: Possible bug in gfortran: array sections in actual arguments


>>> 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.

Attachment: submit.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]