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]

Re: [patch, fortran] PR34540 and 34387 cshift, eoshift, kind=1 and kind=2 arguments.


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


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