Fix UBSAN errors in dse.c (PR rtl-optimization/82044).
authorMartin Liska <mliska@suse.cz>
Tue, 21 Nov 2017 13:39:14 +0000 (14:39 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 21 Nov 2017 13:39:14 +0000 (13:39 +0000)
commit938f9248db10f40bd95f09a53742e9063d4814ae
tree91c9d0c44fc7b5f85ce97e48bc0232423cb36f0b
parentddc1759a351bcf186aeafa34613ccc89cdba4913
Fix UBSAN errors in dse.c (PR rtl-optimization/82044).

2017-11-21  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/82044
PR tree-optimization/82042
* dse.c (check_mem_read_rtx): Check for overflow.

From-SVN: r255001
gcc/ChangeLog
gcc/dse.c