[Bug fortran/40955] STDCALL attributes are not saved in the .MOD files

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 5 08:01:00 GMT 2009



------- Comment #3 from burnus at gcc dot gnu dot org  2009-08-05 08:00 -------
Regarding gfc_copy_attr: The following program should print on x86-64(-linux)
the warnings:
  warning: 'dllexport' attribute directive ignored
  warning: 'stdcall' attribute directive ignored


abstract interface
  subroutine tpl()
!GCC$ ATTRIBUTES STDCALL :: tpl
  end subroutine tpl
end interface

procedure(tpl) :: foo
!GCC$ ATTRIBUTES DLLEXPORT :: foo
call foo()
end


-- 


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



More information about the Gcc-bugs mailing list