diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-16 09:39:07 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-16 09:41:47 +0100 |
commit | 61e3c180ad6913fa5af39059de5ba7b3bde50cda (patch) | |
tree | 7f04e65fce1b54282a2c8160d02ebaa2951cb60e /gcc/ada/adaint.c | |
parent | 31008a8bb30d8979bba5240be6b504140c5665ff (diff) | |
download | gcc-61e3c180ad6913fa5af39059de5ba7b3bde50cda.zip gcc-61e3c180ad6913fa5af39059de5ba7b3bde50cda.tar.gz gcc-61e3c180ad6913fa5af39059de5ba7b3bde50cda.tar.bz2 |
Fix PR tree-optimization/98272
This fixes the precision mismatch introduced by the previous change.
gcc/ChangeLog:
PR tree-optimization/98272
* tree-switch-conversion.c (bit_test_cluster::emit): When finding
out whether the entry test can be merged in the bit test, do the
computation using the type of the index expression.
gcc/testsuite/ChangeLog:
* gcc.dg/pr98272.c: New test.
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions