https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > It would just work. Except the two casts are not the same in the case of negative as I mentioned in comment #2 :).