------- Comment #8 from gccbugzilla at taggedtype dot net 2009-12-30 15:39 ------- Aha, found a small test case: int main() { long double d; bool b = static_cast<long double>(0) == d; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42465