re PR fortran/40962 (Conversion problem for f-allocatable -> cptr -> fptr -> f-alloc...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 20 Aug 2009 20:16:15 +0000 (20:16 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 20 Aug 2009 20:16:15 +0000 (20:16 +0000)
commit41e5ee68bc52fc14920c096242e1bec6086d5848
tree5e2a23a434d417969e7331bff3bf8a35314f62e9
parent3110415b773bb07dc6a09bdb5f934f4a643a2ff2
re PR fortran/40962 (Conversion problem for  f-allocatable -> cptr -> fptr -> f-allocatable)

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
previous stride.

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* c_f_pointer_tests_4.f90:  New test.

From-SVN: r150974
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_f_pointer_tests_4.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/iso_c_binding.c