fold-const.c (fold): Before optimizing unsigned comparison with 0x7fffffffU...
authorJakub Jelinek <jakub@redhat.com>
Mon, 2 Apr 2001 08:08:22 +0000 (10:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 2 Apr 2001 08:08:22 +0000 (10:08 +0200)
commitd791ea1e0a2341a8fb2ca8b593063af8e471fcac
tree6f9d0c57a696399a9f82b1e41a0aad581a8490a3
parentc6955d85188d84404ae1fdfe594e59166d90b755
fold-const.c (fold): Before optimizing unsigned comparison with 0x7fffffffU...

* fold-const.c (fold): Before optimizing unsigned comparison with
0x7fffffffU, make sure arg0 is integral type.

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

From-SVN: r41000
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20010329-1.c [new file with mode: 0644]