Skip to content
Commit 80194192 authored by Ruud Derwig's avatar Ruud Derwig Committed by Anas Nashif
Browse files

arc: Fix for undefined shift behavior (CID 211523)



find_msb_set() can return 0, resulting in a undefined shift of 255 bits.
Fixes #27319

Signed-off-by: default avatarRuud Derwig <Ruud.Derwig@synopsys.com>
parent af1d924c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment