[patch, fortran] Fix PR 68560
Thomas Koenig
tkoenig@netcologne.de
Thu Feb 1 19:41:00 GMT 2018
Hello world,
this patch fixes a regression by removing a KIND argument
(which is encoded into the function name anyway) from the
call to the library function. This extra argument led to
an argument mismatch between the front end and the library
and between different instances of the same function.
Regression-testing as I write this. If it passes
(which I expect), OK for trunk?
Regards
Thomas
2018-02-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/68560
* trans-intrinsic.c (gfc_conv_intrinsic_shape): New function.
(gfc_conv_intrinsic_function): Call it.
2018-02-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/68560
* gfortran.dg/shape_9.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1037 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180201/79a4ac37/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shape_9.f90
Type: text/x-fortran
Size: 500 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180201/79a4ac37/attachment-0001.bin>
More information about the Gcc-patches
mailing list