https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79330

kargls at comcast dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargls at comcast dot net

--- Comment #4 from kargls at comcast dot net ---
(In reply to Jerry DeLisle from comment #3)
> Still fails on trunk (16)

In looking at the code, I'm wondering if it conforms to the Fortran standard.

module caf_openmp_interface
  implicit none
  character(len=*), parameter :: PREFIX="_gfortran_"

! Clearly, prefix is declared outside of the interface.

  interface

! Interface is a new namespace and one normally needs to import
! symbols from outside the interface.  But, here, prefix is not
! within the namespace of the subroutine (?) .

    module subroutine this_image() bind(C,name=PREFIX//"caf_this_image")
      implicit none
    end subroutine
  end interface
end module


What to other compilers do with the code?

Reply via email to