https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87495
--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 22 Oct 2018, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87495 > > Martin Liška <marxin at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|WAITING |REOPENED > > --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- > OK, the fastcall is a special one, but I see it for all of: > > const ext_attr_t ext_attr_list[] = { > { "dllimport", EXT_ATTR_DLLIMPORT, "dllimport" }, > { "dllexport", EXT_ATTR_DLLEXPORT, "dllexport" }, > { "cdecl", EXT_ATTR_CDECL, "cdecl" }, > { "stdcall", EXT_ATTR_STDCALL, "stdcall" }, > { "fastcall", EXT_ATTR_FASTCALL, "fastcall" }, > { "no_arg_check", EXT_ATTR_NO_ARG_CHECK, NULL }, > { NULL, EXT_ATTR_LAST, NULL } > }; > > gfortran f.f90 > f.f90:1:0: > > elemental real function sin(arg) > > Warning: ‘cdecl’ attribute ignored [-Wattributes] But that's in the same ballpark. All of them seem to be... (just check on a C testcase with -Wall).