sbitmap.c (bitmap_bit_in_range_p): New function.
authorJeff Law <law@redhat.com>
Fri, 29 Sep 2017 18:20:41 +0000 (12:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 29 Sep 2017 18:20:41 +0000 (12:20 -0600)
commite9d297a15d68121ba5bdd5a76ea71c1916180622
treeec865a0c1b998f4757f69e3cea2d7245e66f6287
parent79310774839953f17cc5aae75ab332c788784466
sbitmap.c (bitmap_bit_in_range_p): New function.

* sbitmap.c (bitmap_bit_in_range_p): New function.
* sbitmap.h (bitmap_bit_in_range_p): Prototype.
* tree-ssa-dse.c (live_bytes_read): New function.
(dse_classify_store): Ignore reads of dead bytes.

* testsuite/gcc.dg/tree-ssa/ssa-dse-26.c: New test.

From-SVN: r253305
gcc/ChangeLog
gcc/sbitmap.c
gcc/sbitmap.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c [new file with mode: 0644]
gcc/tree-ssa-dse.c