tree-ssa-dse.c (compute_trims): Handle case where the reference's type does not have...
authorJeff Law <law@redhat.com>
Mon, 27 Aug 2018 20:31:14 +0000 (14:31 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 27 Aug 2018 20:31:14 +0000 (14:31 -0600)
commit6a2a69287c6cbcfa31cd9dcb13cfdf40cdd29d8e
tree2af41dc3ee0ba312d0a99440762f15ab9fd150f4
parentd4714a1b5eb458fb233024ef16b0dda6e712d632
tree-ssa-dse.c (compute_trims): Handle case where the reference's type does not have a TYPE_SIZE_UNIT.

* tree-ssa-dse.c (compute_trims): Handle case where the reference's
type does not have a TYPE_SIZE_UNIT.

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

From-SVN: r263896
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/dse.c [new file with mode: 0644]
gcc/tree-ssa-dse.c