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

--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Apr 14, 2020 at 07:23:32AM +0000, rguenth at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586
> 
> --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Not all targets have a C99 math runtime.  libgfortran configury tests for a
> load
> of C99 functions:
> 
> # Check for C99 (and other IEEE) math functions
> GCC_CHECK_MATH_FUNC([acosf])
> GCC_CHECK_MATH_FUNC([acos])
> GCC_CHECK_MATH_FUNC([acosl])
> GCC_CHECK_MATH_FUNC([acoshf])
> ...
> 
> but fails to check for fma[lf ] (I also don't see any uses of the HAVE_*
> macros defined but that's another issue.
> 

It is 2020.  If a target doesn't support C99, then
building gfortran should be prohibited.  The file 
libgfortran/intrinsics/c99_functions.c is nothing 
but a kludge, and I wrote a part of that file!

I also note that FreeBSD does not have a complete
C99 and building libstdc++ is broken because of 
this.  Yet, I can't get a trivially stupid patch
applied.

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

Reply via email to