re PR rtl-optimization/82044 (runtime signed integer overflow in check_mem_read_rtx...
authorJakub Jelinek <jakub@redhat.com>
Wed, 22 Nov 2017 09:08:23 +0000 (10:08 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 22 Nov 2017 09:08:23 +0000 (10:08 +0100)
commit213ffde2eae0d0ee2c15c7ffc7ef481f4f8bee11
tree522d9f9eec82cef79756de6a4422c7288d626530
parent608c0f631803f888363bccff43a57027538ff03e
re PR rtl-optimization/82044 (runtime signed integer overflow in check_mem_read_rtx() and all_positions_needed_p() in dse.c)

PR rtl-optimization/82044
PR tree-optimization/82042
* dse.c (record_store): Check for overflow.
(check_mem_read_rtx): Properly check for overflow if width == -1, call
add_wild_read instead of clear_rhs_from_active_local_stores on
overflow and log it into dump_file.

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