This patch should fix the rest of the warnings about #endif statements when using the 20001225 gcc snapshot. Thanks to Keith Owens for providing a script to automate this process. It got the job done sooner and found warnings to fix for non x86 platforms. Rich