tree-chkp.c (chkp_compute_bounds_for_assignment): Handle POINTER_DIFF_EXPR.
authorJakub Jelinek <jakub@redhat.com>
Sat, 2 Dec 2017 07:58:05 +0000 (08:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 2 Dec 2017 07:58:05 +0000 (08:58 +0100)
commitedb48cdb9f8dcc52b20f12785a1d570084597842
treec66593139e7d3abc4642c2568ffc48e400187d30
parent38651b523d2df78a62489911e1c0036847c116bd
tree-chkp.c (chkp_compute_bounds_for_assignment): Handle POINTER_DIFF_EXPR.

* tree-chkp.c (chkp_compute_bounds_for_assignment): Handle
POINTER_DIFF_EXPR.

* gcc.target/i386/mpx/pointer-diff-1.c: New test.

From-SVN: r255355
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pointer-diff-1.c [new file with mode: 0644]
gcc/tree-chkp.c