Found by PVS Studio
Not familiar with this code; no testcase.
xbolva00 on Nov 1 2019, 4:38 PM.Authored by
Maybe someone from RISC-V could try to figure out what pattern it is that's causing the problem? Perhaps one approach could be to bisect over RISC-V commits with this patch applied and seeing where the timeouts start?