Issue | 130586 |
---|---|
Summary | [Clang] Clang does not work with bitshift |
Labels | clang |
Assignees | |
Reporter | BreadTom |
When Clang compile this [code](https://godbolt.org/z/6Kvf11MT5), it incorrectly optimizes it to nothing at -O3. The latest Clang that did compile the code correct was Clang 11.0.1. Adding a (uint64_t) at line 17 made Clang compile right.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs