https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905
--- Comment #12 from TCH <tch at protonmail dot com> --- Created attachment 61805 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61805&action=edit Fixes all of the errors of compiling GCC6 on Solaris 10 SPARC The fix of the 'NAN' and 'INFINITY' problem is an ugly 'union' hack, where the hexa values of 'NaN' and 'inf' are directly fed to an 'union.uint64_t' and pulled from the 'union.double', but it does work. It also fixes the error from bug #86615, and the errors of extern char *strstr (const char *, const char *) and extern const char *strsignal (int) are being different from their previous declarations of extern const char *strstr (const char *, const char *) and extern char *strsignal (int)