Avoid shifting by amounts larger than target int in irange self-tests.
authorAldy Hernandez <aldyh@redhat.com>
Mon, 3 Aug 2020 16:30:30 +0000 (18:30 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Mon, 3 Aug 2020 16:31:29 +0000 (18:31 +0200)
commit6c4763fa5b55f6e883ed7077b67c6175c2da63d1
treeda1e451e715ead7879a97741bfe461fde48c274a
parentc56684fd61223abd45854270cd1e83ab2f07148c
Avoid shifting by amounts larger than target int in irange self-tests.

gcc/ChangeLog:

PR tree-optimization/96430
* range-op.cc (operator_tests): Do not shift by 31 on targets with
integer's smaller than 32 bits.
gcc/range-op.cc