simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Jan 2002 21:13:25 +0000 (22:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Jan 2002 21:13:25 +0000 (22:13 +0100)
commit2e9513841e7b1614d5bcde97e7af166481728296
treeaa99d84096fc4acf3768871bf9b897031e77910b
parent15eb1e433c13bfce36e4b8ad4a4a51c9ba24d4f9
simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.

* simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
Don't allow -1 - x -> ~x simplifications in the first pass.

* gcc.c-torture/execute/20020107-1.c: New test.

From-SVN: r48614
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20020107-1.c [new file with mode: 0644]