[patch, libfortran] Fix PR 40187
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue May 26 18:32:00 GMT 2009
On Sat, May 23, 2009 at 01:46:26PM +0200, Thomas Koenig wrote:
> Hello world,
>
> this fixes PR 40187, where we didn't use strides in the "shape" argument
> to c_f_pointer.
>
> Regression-tested on trunk, on i686-pc-linux-gnu. OK for trunk and
> fortran-dev?
>
> Thomas
>
> 2009-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR libfortran/40187
> * intrinsics/iso_c_binding.c (c_f_pointer_u0): Take care
> of stride in "shape" argument.
>
> module c_f_pointer_shape_tests_4
*_tests_4
> end module c_f_pointer_shape_tests_4
> ! { dg-final { cleanup-modules "c_f_pointer_shape_tests_2" } }
*_tests_2?
OK with the above change.
--
Steve
More information about the Gcc-patches
mailing list