This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40955] STDCALL attributes are not saved in the .MOD files
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2009 08:00:49 -0000
- Subject: [Bug fortran/40955] STDCALL attributes are not saved in the .MOD files
- References: <bug-40955-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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