[Bug libstdc++/22200] numeric_limits<signed>::is_modulo is inconsistend with gcc

Andrew Pinski pinskia@physics.uc.edu
Mon Jun 27 16:53:00 GMT 2005


On Jun 27, 2005, at 12:25 PM, gdr at integrable-solutions dot net wrote:

> | Actually it is modulo for all operations.
>
> But then do read the comment as far as the loop optimizer is
> concerned. It does not seem like it understands that it is modulo
> arithmetic.

But that is because overflow is undefined, read what other people
have written.  It is modulo for all normal operations but it is still
undefined at what the output will be.

-- Pinski



More information about the Gcc-bugs mailing list