[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 22 19:58:52 GMT 2020


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

--- Comment #38 from John David Anglin <danglin at gcc dot gnu.org> ---
Because mk-kinds-h.sh has not been modifies, we still get long double in
kinds.h with gcc-10:

typedef long double GFC_REAL_16;
typedef complex long double GFC_COMPLEX_16;

However with my patch, this does not seem to matter.  The following
program

function foo(x)
   real(16) foo, x
   foo = cos(x)
end function foo

generates a call to cosq.


More information about the Gcc-bugs mailing list