Issue 76113
Summary Ubsan and _BitInt with shifts does not get along
Labels new issue
Assignees
Reporter pinskia
    Take:
```
_BitInt (255) bi = -1;
int
main ()
{
  bi = 0 >> bi;
  return 0;
}
```
This causes an internal assert in the sanitizers:
```
UndefinedBehaviorSanitizer: CHECK failed: ubsan_value.cpp:86 "((0 && "unexpected bit width")) != (0)" (0x0, 0x0) (tid=1)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to