diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2024-07-16 12:38:11 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2024-07-16 17:22:10 -0400 |
commit | 73a8286d3ae266955fa921da1fa1328a587e7bb7 (patch) | |
tree | 665aef611b4f0bc159ccb6dfc288ac004cbe039b /gcc/expr.cc | |
parent | 40a990c8b512fd25bd7d7b45aa509e1880d77209 (diff) | |
download | gcc-73a8286d3ae266955fa921da1fa1328a587e7bb7.zip gcc-73a8286d3ae266955fa921da1fa1328a587e7bb7.tar.gz gcc-73a8286d3ae266955fa921da1fa1328a587e7bb7.tar.bz2 |
range-ops should return the requested boolean type.
The pointer based relation operator's fold_range () routines should
return a boolean range with the requested type, not the default type.
PR tree-optimization/115951
* range-op-ptr.cc (operator_equal::fold_range): Return a boolean
range with the requested type.
(operator_not_equal::fold_range): Likewise.
(operator_lt::fold_range): Likewise.
(operator_le::fold_range): Likewise.
(operator_gt::fold_range): Likewise.
(operator_ge::fold_range): Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions