[Bug fortran/55574] c binding access to c_ptr type

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Mon Dec 3 15:06:00 GMT 2012


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-03 15:05:45 UTC ---
Up to revision 181424 (4.7.0), compiling the test gives the following error:

pr55574.f90:4.13:

  type(C_PTR) :: f_ptr
             1
Error: Derived type 'c_ptr' at (1) is being used before it is defined
pr55574.f90:5.8:

  f_ptr=c_loc(i)
        1
Error: Can't convert TYPE(_gfortran_iso_c_binding_c_ptr) to REAL(4) at (1)

Starting at revision 181425, the test compiles without error.



More information about the Gcc-bugs mailing list