* sbitmap.c (bitmap_bit_in_range_p): New function.
commit1b487905cb19a8fc06698c9f26bd2202bc8d0157
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Sep 2017 18:20:41 +0000 (29 18:20 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Sep 2017 18:20:41 +0000 (29 18:20 +0000)
treeec865a0c1b998f4757f69e3cea2d7245e66f6287
parent7fa43da2d9a1cd0a2744817540aa8039fc3876ed
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253305 138bc75d-0d04-0410-961f-82ee72b054a4
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