simplify-rtx.c (simplifi_binary_operation): If DIV has narrower mode than op0, only...
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Dec 2001 08:26:20 +0000 (09:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Dec 2001 08:26:20 +0000 (09:26 +0100)
commita9dc868ffb3fb50e9214823c322cab7c6cf72e30
treeea0ef2f6d06f6f68479430c907804e9f4ea87dd4
parent2a3b43b609ca4f3850226eecb5fec29f1ab80d35
simplify-rtx.c (simplifi_binary_operation): If DIV has narrower mode than op0, only return the bits in DIV's mode.

* simplify-rtx.c (simplifi_binary_operation) [DIV]: If DIV has
narrower mode than op0, only return the bits in DIV's mode.

* gcc.c-torture/compile/20011219-2.c: New test.

From-SVN: r48199
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20011219-2.c [new file with mode: 0644]