This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]