------- Comment #10 from J-A dot Martin at sympatico dot ca  2009-09-12 13:43 
-------
(In reply to comment #8)
> Subject: Bug 40962
> 
> Author: tkoenig
> Date: Thu Aug 20 20:42:38 2009
> New Revision: 150975
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150975
> Log:
> 2009-08-20  Thomas Koenig  <tkoe...@gcc.gnu.org>
> 
>         PR libfortran/40962
>         * iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
>         previous stride.
> 
> 2009-08-20  Thomas Koenig  <tkoe...@gcc.gnu.org>
> 
>         PR libfortran/40962
>         * c_f_pointer_tests_4.f90:  New test.
> 
> 
> Added:
>     branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/c_f_pointer_tests_4.f90
> Modified:
>     branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
>     branches/gcc-4_4-branch/libgfortran/ChangeLog
>     branches/gcc-4_4-branch/libgfortran/intrinsics/iso_c_binding.c
> 

It doesn't work if the  3rd dimension is > 2
The test case only shows the array shape. It should fill the sample arrays and
compares.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40962

Reply via email to