https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89255
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> --- Created attachment 46060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46060&action=edit patch for pr89255 I posted this to gcc-patches in three parts, it would be good if you can test it on solaris before I commit.