https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61298
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think I have seen this bug before. The problem comes from using non-logical compares for equal but logical compares for the others.