re PR middle-end/91725 (ICE in get_nonzero_bits starting with r275587)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Sep 2019 08:33:55 +0000 (10:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Sep 2019 08:33:55 +0000 (10:33 +0200)
commit6d5093dad6a4927d23a914300605e76dd00c7a15
tree2a3c8464e7a84791fc7d67aaa5319e7c48c8ca68
parentdc5b11916a2e318bd15d60f6cfd01d1e306ffbfb
re PR middle-end/91725 (ICE in get_nonzero_bits starting with r275587)

PR middle-end/91725
* match.pd ((A / (1 << B)) -> (A >> B)): Call tree_nonzero_bits instead
of get_nonzero_bits, only call it for integral types.

* gcc.c-torture/compile/pr91725.c: New test.

From-SVN: r275633
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr91725.c [new file with mode: 0644]