diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-07-12 14:38:42 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-07-12 19:14:30 -0400 |
commit | 9693ecdf7ed5dde9618d06560697ff8ee5e1e6b7 (patch) | |
tree | fb132b2cd789877a7164529e09aefacaa05e82e4 /gcc/ada | |
parent | e61afa0c2fb633b037368c067d4744c07349a2eb (diff) | |
download | gcc-9693ecdf7ed5dde9618d06560697ff8ee5e1e6b7.zip gcc-9693ecdf7ed5dde9618d06560697ff8ee5e1e6b7.tar.gz gcc-9693ecdf7ed5dde9618d06560697ff8ee5e1e6b7.tar.bz2 |
Add relation processing to ubsan builtins.
Ubsan builtins call the plus/minus/multiple fold routines, but did not
use any relation information between the 2 operands that is available.
query and pass any relations.
This resolves gcc.dg/pr97505.c when operating in ranger-only mode.
* gimple-range-fold.cc (fold_using_range::range_of_builtin_ubsan_call):
Query relation between the 2 operands and use it.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions