simplify-rtx.c (simplify_binary_operation): Check for overflow when folding integer...
authorDiego Novillo <dnovillo@redhat.com>
Thu, 5 Apr 2001 02:27:47 +0000 (02:27 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 5 Apr 2001 02:27:47 +0000 (22:27 -0400)
commitb08355783200651f189f2f057663e12f9755bb92
tree102c5ecab55ff14b05898ff73ce3c22e9dd1cd40
parent12f0b96b84e334fb3b1d582a19079abdf0fb054f
simplify-rtx.c (simplify_binary_operation): Check for overflow when folding integer division and modulo operations.

2001-04-04  Diego Novillo  <dnovillo@redhat.com>

* simplify-rtx.c (simplify_binary_operation): Check for overflow
when folding integer division and modulo operations.

2001-04-04  Diego Novillo  <dnovillo@redhat.com>

* gcc.c-torture/compile/20010404-1.c: New test.

From-SVN: r41105
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20010404-1.c [new file with mode: 0644]