[patch, fortran] PR34540 and 34387 cshift, eoshift, kind=1 and kind=2 arguments.
Jerry DeLisle
jvdelisle@verizon.net
Sun Jan 6 16:54:00 GMT 2008
Jerry DeLisle wrote:
> Hi,
>
> This patch is a twofer. It should fix the optional_dim_2.f90 problem on
> targets like hppa and mips. I have not tested there and I am waiting
> for test results.
>
> The problem is fixed by creating a temporary which is then used to
> convert the type of the dummy argument. Then the address of this
> temporary is passed to the function, testing for NULL along the way. New
> test case developed from Thomas test case in PR34540.
>
> Regression tested on x86-64, ppc64, and i686-Cygwin.
>
> OK for trunk. Note: I will wait for other target test results before
> committing.
>
David Daney reports to me that the patch works OK for both test cases on
mipsel-linux.
Jerry
More information about the Fortran
mailing list