aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-core.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-04-27 15:29:34 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-04-27 15:29:34 +0200
commitb3b2bae4e2a40ede680da463415bf8e4e885b93e (patch)
tree0b2a2bd79d40fa89ffbdf39a837fd4e5a09c14ce /gcc/tree-core.h
parent3c98ff9b1a24246e19da39fce967fe2f88be828e (diff)
downloadgcc-b3b2bae4e2a40ede680da463415bf8e4e885b93e.zip
gcc-b3b2bae4e2a40ede680da463415bf8e4e885b93e.tar.gz
gcc-b3b2bae4e2a40ede680da463415bf8e4e885b93e.tar.bz2
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
Diffstat (limited to 'gcc/tree-core.h')
-rw-r--r--gcc/tree-core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-core.h b/gcc/tree-core.h
index 0d48ff5..6d573d7 100644
--- a/gcc/tree-core.h
+++ b/gcc/tree-core.h
@@ -765,7 +765,9 @@ enum operand_equal_flag {
OEP_ONLY_CONST = 1,
OEP_PURE_SAME = 2,
OEP_MATCH_SIDE_EFFECTS = 4,
- OEP_ADDRESS_OF = 8
+ OEP_ADDRESS_OF = 8,
+ /* Internal within operand_equal_p: */
+ OEP_NO_HASH_CHECK = 16
};
/* Enum and arrays used for tree allocation stats.