[glibc/azanella/clang] stdlib: Avoid internal definitions for tst-strtod5i

Adhemerval Zanella azanella@sourceware.org
Tue Oct 4 13:01:33 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c5589fdf921a96df5745c675975d9b6defb2ac6c

commit c5589fdf921a96df5745c675975d9b6defb2ac6c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 24 15:35:28 2022 -0300

    stdlib: Avoid internal definitions for tst-strtod5i
    
    Compiler might emit a __copysign.

Diff:
---
 stdlib/tst-strtod5i.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stdlib/tst-strtod5i.c b/stdlib/tst-strtod5i.c
index 6949e58f5d..6288f4db74 100644
--- a/stdlib/tst-strtod5i.c
+++ b/stdlib/tst-strtod5i.c
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#define NO_MATH_REDIRECT
 #include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>


More information about the Glibc-cvs mailing list