------- Comment #1 from rfm at gnu dot org 2008-12-08 08:39 ------- It turns out that solving this bug, even though it's conceptually simple, is quite a lot of work. I have new code to fix it, but it took me a whole day to develop and involves extensive additions and alterations to sendmsg.c (though I tried to keep the existing code unchanged as much as possible). I'm running the new code on my system to see if I can find any problems before I supply a patch, but if there's any interest I can provide a patch earlier for people to test.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38307