re PR sanitizer/70683 (-fcompare-debug bug with -fsanitize=address)
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Apr 2016 13:29:34 +0000 (15:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Apr 2016 13:29:34 +0000 (15:29 +0200)
commitb3b2bae4e2a40ede680da463415bf8e4e885b93e
tree0b2a2bd79d40fa89ffbdf39a837fd4e5a09c14ce
parent3c98ff9b1a24246e19da39fce967fe2f88be828e
re PR sanitizer/70683 (-fcompare-debug bug with -fsanitize=address)

PR sanitizer/70683
* tree-core.h (enum operand_equal_flag): Add OEP_NO_HASH_CHECK.
* fold-const.c (operand_equal_p): If flag_checking and
OEP_NO_HASH_CHECK is not set in flag, recurse with OEP_NO_HASH_CHECK
and if it returns non-zero, assert iterative_hash_expr on both
args is the same.

From-SVN: r235507
gcc/ChangeLog
gcc/fold-const.c
gcc/tree-core.h