Richard and others,I have a (still broken) patch that tries to fix the fallout from the change in semantics of the __sync_nand faimily of builtins that occurred recently on the trunk.
If someone else is working on this and is ready to commit, I would abandon my patch, otherwise we will press on with it.
The main point of this message is to try to avoid duplication of effort. Thanks, David Daney