[Bug fortran/56969] [4.9 Regression] ISO_C_BINDING regression with current trunk

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 15 14:53:00 GMT 2013


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|burnus@net-b.de             |burnus at gcc dot gnu.org
   Target Milestone|---                         |4.9.0

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-15 14:53:36 UTC ---
Workaround:

module extd_mat_mod
! use iso_c_binding  ! << comment this line

Or alternatively:
  use test_mod, only: s_Cmat  ! <<< add "only:"

The problem seems to be that the indirectly imported function "c_associated"
does not seem to get recognized as being the same as the indirectly imported
one.



More information about the Gcc-bugs mailing list