aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-08-03 11:52:00 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-08-03 11:52:00 +0000
commit2d7744d4ef93bfffb484ae24b81163049364947f (patch)
tree7b7a05c5b0ce10c4c4b642fa0c254dc994507349 /gcc/tree-data-ref.c
parent3cd361256dc895fb91f5a8d248a5bbc89457621b (diff)
downloadgcc-2d7744d4ef93bfffb484ae24b81163049364947f.zip
gcc-2d7744d4ef93bfffb484ae24b81163049364947f.tar.gz
gcc-2d7744d4ef93bfffb484ae24b81163049364947f.tar.bz2
re PR sanitizer/81148 (UBSAN: two more false positives)
2017-08-03 Richard Biener <rguenther@suse.de> PR middle-end/81148 * fold-const.c (split_tree): Add minus_var and minus_con arguments, remove unused loc arg. Never generate NEGATE_EXPRs here but always use minus_*. (associate_trees): Assert we never associate with MINUS_EXPR and NULL first operand. Do not recurse for PLUS_EXPR operands when associating as MINUS_EXPR either. (fold_binary_loc): Track minus_var and minus_con. * c-c++-common/ubsan/pr81148.c: New testcase. From-SVN: r250853
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions