Issue 176271
Summary [clang][bytecode] SIGSEGV where shift count is negative
Labels regression:19, clang:bytecode
Assignees
Reporter k-arrows
    Reproducer:
https://godbolt.org/z/8z4jqvoYf
```cpp
void foo() {
  int i;
  i = 0 << (1 << 31);
}
```

fine with clang-18:
https://godbolt.org/z/6x6vYY1GG

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to