http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56250
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Component|c |middle-end --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-08 01:54:23 UTC --- Actually I get the correct results with the split out one. The problem is division is being merged together over the negative which is not valid for wrapping cases.