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, libfortran] Fix PR 40187


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


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