http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60439
--- Comment #6 from Chengnian Sun <chengniansun at gmail dot com> --- (In reply to Marek Polacek from comment #5) > OK, reopening, sorry. The "switch condition has boolean value" warning > might make sense; I'll try to look into it after 4.9. Thanks for considering it, Marek.