Module Name:    src
Committed By:   martin
Date:           Sat Jul 20 15:03:07 UTC 2024

Modified Files:
        src/lib/libc/gdtoa [netbsd-10]: strtod.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #749):

        lib/libc/gdtoa/strtod.c: revision 1.19

remove the -O0 force for _int_strtod_l() and GCC 9, it's fixed in GCC 10
and 12.

this was triggering sh3 GCC 12 to fail compiles because of ssp.h's memcpy()
frontend having the always_inline attribute that didn't match -O0 or so.
tested with pkgsrc gcc9 to confirm it hangs there, but newer versions
are fine.

also known as PR#55668, which now has a real fix (gcc 10 :-).


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.6.1 src/lib/libc/gdtoa/strtod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gdtoa/strtod.c
diff -u src/lib/libc/gdtoa/strtod.c:1.18 src/lib/libc/gdtoa/strtod.c:1.18.6.1
--- src/lib/libc/gdtoa/strtod.c:1.18	Thu May  6 16:15:33 2021
+++ src/lib/libc/gdtoa/strtod.c	Sat Jul 20 15:03:06 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: strtod.c,v 1.18 2021/05/06 16:15:33 christos Exp $ */
+/* $NetBSD: strtod.c,v 1.18.6.1 2024/07/20 15:03:06 martin Exp $ */
 
 /****************************************************************
 
@@ -90,9 +90,6 @@ sulp
 	}
 #endif /*}*/
 
-#if __GNUC_PREREQ__(9, 3)
-__attribute__((__optimize__("O0")))
-#endif
 static double
 _int_strtod_l(CONST char *s00, char **se, locale_t loc)
 {

Reply via email to