INT_MIN % -1
Robert Dewar
dewar@gnat.com
Wed Dec 1 00:39:00 GMT 2004
Paul Schlie wrote:
> With reference to the below:
>
> I would guess that rather than attempting to expose a check for a / or % by
> -1 to the compiler, I would assume that it's best handled by the back end
> during code generations, as the most efficient solution is target specific:
Indeed, but remember we would need to have both operations, one with the
special handling and one without.
More information about the Gcc
mailing list