From: zhongjuzhe <juzhe.zh...@rivai.ai> Hi, variable "bitpos" is compute using bitsize. I think it makes sense for bit position checking whether it is out-of-bounds to array using GET_MODE_BITSIZE instead of GET_MODE_PRECISION.
This patch is useful for RVV (RISC-V 'V') support that I am going to push upstream. Thanks! *** BLURB HERE *** zhongjuzhe (1): Fix bit-position comparison gcc/expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.36.1