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

--- Comment #17 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:b6e22db8564827c82108e0b7fa1a84675379c12b

commit r12-8240-gb6e22db8564827c82108e0b7fa1a84675379c12b
Author: Steve Kargl <ka...@gcc.gnu.org>
Date:   Mon Apr 25 09:23:56 2022 +0200

    target/89125 - BSD and math functions

    Back story: When GCC is configured and built on non-glibc platforms,
    it seems very little to no effort is made to enumerate the available
    C99 libm functions.  It is all or nothing for C99 libm.  The patch
    introduces a new function, used on only FreeBSD, to inform gcc that
    it has C99 libm functions (minus a few which clearly GCC does not check
    nor test).

    2022-04-15  Steven G. Kargl  <ka...@gcc.gnu.org>

            PR target/89125
            * config/freebsd.h: Define TARGET_LIBC_HAS_FUNCTION to be
            bsd_libc_has_function.
            * targhooks.cc (bsd_libc_has_function): New function.
            Expand the supported math functions to inclue C99 libm.
            * targhooks.h (bsd_libc_has_function): New Prototype.

Reply via email to