[Patch, Fortran] PR 38669 Array bounds violation for arguments of elemental subroutine
Mikael Morin
mikael.morin@tele2.fr
Sun Jan 4 19:45:00 GMT 2009
Daniel Kraft wrote:
> Hi Mikael,
>
> Mikael Morin wrote:
>> This patch fixes an array bounds violation with elemental arguments.
>> This is a regression.
>>
>> The array bounds variables were used before they were assigned a value.
>> This is fixed by adding the offending code (dependency code) _after_ the
>> loop's pre code.
>>
>> This patch also contains a fix for the fix for PR 38487 which was
>> supposed to only circumvent the warning, but was also changing the
>> return value.
>>
>> As a bonus, it also fixes a function name in the ChangeLog.
>>
>> Regression tested on x86_64-unknown-linux-gnu. Ok for trunk (and later
>> 4.3?)?
>
> Ok. Thanks for fixing these issues!
>
> Yours,
> Daniel
>
On trunk as revision 143057.
More information about the Fortran
mailing list