]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: AIX long double builtins for 64 bit long double.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 12 May 2020 15:46:47 +0000 (11:46 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 12 May 2020 15:53:13 +0000 (11:53 -0400)
commite042b0490c8c22292547539af244aa19543a599a
treee2627261b0ef7a05f01ae77b35ad869be830ce3e
parent6c1668fe923c84fd617a42ccae17990a0c10a859
rs6000: AIX long double builtins for 64 bit long double.

When long doubles are 64 bit, the AIX C library overrides the definitions
but GCC builtins point to 128 bit names.  This patch overrides the
builtins for fmodl, frexpl, ldexpl and modfl to refer to the 64 bit symbols.

Backport from mainline
2020-05-04  Clement Chigot  <clement.chigot@atos.net>
            David Edelsohn  <dje.gcc@gmail.com>

        * config/rs6000/rs6000-call.c (rs6000_init_builtins): Override explicit
        for fmodl, frexpl, ldexpl and modfl builtins.
gcc/ChangeLog
gcc/config/rs6000/rs6000.c