------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-28 01:48 ------- this is invalid as overflow is undefined so multiplying by a number and then dividing by the same number is always true as the multiply can overflow which is undefined so say it is the same as doing it in the math world.
If you want overflow to be defined as wrapping use -fwrapv. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23600