[committed] Fix pr21085
James A. Morrison
ja2morri@csclub.uwaterloo.ca
Tue Apr 19 02:35:00 GMT 2005
Hi,
This bug where TRUNC_MOD_EXPR was trying to simplify X % INT_MIN to
X % INT_MIN where INT_MIN was acheived through overflow. The reason this
wasn't caught by the sign_bit_p check was that sign_bit_p returns NULL for
expressions that have overflowed. This patch has been bootstrapped and
regtested on ia64-linux and preapproved by Roger in the PR.
--
Thanks,
Jim
http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr21085.1.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050419/fe3ddef2/attachment.bin>
More information about the Gcc-patches
mailing list