diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2020-11-17 10:04:38 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2020-11-17 11:58:07 -0500 |
commit | a5f9c27bfc4417224e332392bb81a2d733b2b5bf (patch) | |
tree | 4924d184b2ab656e77a14f962af4844954438028 /gcc/tree.c | |
parent | c2cf58f0e3a32b803c890ea8daa8d9f550cf9888 (diff) | |
download | gcc-a5f9c27bfc4417224e332392bb81a2d733b2b5bf.zip gcc-a5f9c27bfc4417224e332392bb81a2d733b2b5bf.tar.gz gcc-a5f9c27bfc4417224e332392bb81a2d733b2b5bf.tar.bz2 |
IOR with nonzero, range cannot contain 0.
Remove zero from IOR ranges with non-zero masks.
gcc/
PR tree-optimization/83072
* range-op.cc (wi_optimize_and_or): Remove zero from IOR range when
mask is non-zero.
gcc/testsuite/
* gcc.dg/pr83072.c: New.
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions