http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511
--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-29 01:42:00 UTC --- Created attachment 24137 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24137 An implementation found via google Found this while searching around. My impression is that this is what glibc uses already. If my impression is true, there is no need for this PR. If not, maybe this is a starting point.