https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Created attachment 53949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53949&action=edit Fix unsafe use of dirent::d_name I'm unable to access the Solaris/x86 host in the compile farm (gcc210) so I can't test if this fixes it. It passes on Solaris/sparc.