diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-01-12 13:28:55 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-01-13 13:51:30 -0500 |
commit | 27e4260166950b784fe270ba4f0cae9a66faf1c4 (patch) | |
tree | 837cf00a12e99bfb6ab81257c72301706f242f04 /gcc/fortran/dump-parse-tree.c | |
parent | 0b8464365b15ac108cd1d00d5bc56d229c1340de (diff) | |
download | gcc-27e4260166950b784fe270ba4f0cae9a66faf1c4.zip gcc-27e4260166950b784fe270ba4f0cae9a66faf1c4.tar.gz gcc-27e4260166950b784fe270ba4f0cae9a66faf1c4.tar.bz2 |
Add relation to unsigned right shift.
If the first operand and the shift value of a right shift operation are both
>= 0, then we know the LHS of the operation is <= the first operand.
PR tree-optimization/96707
gcc/
* range-op.cc (operator_rshift::lhs_op1_relation): New.
gcc/testsuite/
* g++.dg/pr96707.C: New.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions