Uggh - what a mess. Surely that zero_extend:SI (const_int 1) should be replaced by a move somewhere.
So I'm all for fixing this but I don't really know where to start. Do you have any suggestions? Julian's patch now looks more like a workaround...
-Y