http://bugs.winehq.org/show_bug.cgi?id=24270
--- Comment #9 from Austin English austinenglish@gmail.com 2010-09-06 10:57:14 CDT --- Created an attachment (id=30606) --> (http://bugs.winehq.org/attachment.cgi?id=30606) patch
Actually, it may be a gcc bug that clang exposes. This patch fixes it on clang.
Notice that there are two similar tests (for TzSpecificLocalTimeToSystemTime and SystemTimeToTzSpecificLocalTime). The SystemTimeToTzSpecificLocalTime currently fails on clang, and the yeardays[] array is missing a final {0} entry. On gcc this passes, but clang fails (perhaps rightly?).