[Bug middle-end/27116] [4.2 Regression] Incorrect integer division (wrong sign).

vincent at vinc17 dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 8 07:32:00 GMT 2006



------- Comment #17 from vincent at vinc17 dot org  2006-06-08 07:18 -------
The patch looks strange to me too: is there any reason why the optimization
would be correct under wrapping? i.e. I don't understand why -fwrapv can "fix"
the problem (as said in comment #1).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27116



More information about the Gcc-bugs mailing list