aboutsummaryrefslogtreecommitdiff
path: root/libgloss/rs6000/mbx-print.c
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@baylibre.com>2025-08-07 13:09:41 +0000
committerJeff Johnston <jjohnstn@redhat.com>2025-08-08 19:00:58 -0400
commitf13e8e21599ff12ea76980d6a8b19b0a5ebe9bed (patch)
treed02e49631d13742c71e45654a9c7ba8b5d4c2ca9 /libgloss/rs6000/mbx-print.c
parent933d5beec5c5199ec9108bf626e0091897cd1618 (diff)
downloadnewlib-master.zip
newlib-master.tar.gz
newlib-master.tar.bz2
amdgcn, libm: fix infinite loopHEADmastermain
The end condition on this loop, unlike all the other similar loops, is "i >= 0", which is a problem because "i <<= 1" can go negative and then zero if you continue shifting, and so back to true, again. This isn't a problem for the loop in the scalar implementation, but it means we need to mask the shift in the vector implementation. This fixes GCC PR#121392.
Diffstat (limited to 'libgloss/rs6000/mbx-print.c')
0 files changed, 0 insertions, 0 deletions