Uh oh!
There was an error while loading. Please reload this page.
[fix](bit shift) fix undefined behavior of bit shift functions. - #35723
Conversation
doris-robot
commented
May 31, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
May 31, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
May 31, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
May 31, 2024
TeamCity be ut coverage result: |
doris-robot
commented
May 31, 2024
TPC-H: Total hot run time: 41539 ms |
RoanHeNaN
commented
May 31, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
May 31, 2024
TeamCity be ut coverage result: |
doris-robot
commented
May 31, 2024
TPC-H: Total hot run time: 40169 ms |
doris-robot
commented
May 31, 2024
TPC-DS: Total hot run time: 172164 ms |
doris-robot
commented
May 31, 2024
ClickBench: Total hot run time: 30.09 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…he#35723) `If the value of rhs is negative or is not less than the number of bits in lhs, the behavior is undefined.`
…he#35723) `If the value of rhs is negative or is not less than the number of bits in lhs, the behavior is undefined.`
…he#35723) `If the value of rhs is negative or is not less than the number of bits in lhs, the behavior is undefined.`
…he#35723) `If the value of rhs is negative or is not less than the number of bits in lhs, the behavior is undefined.`
If the value of rhs is negative or is not less than the number of bits in lhs, the behavior is undefined.According to https://en.cppreference.com/w/cpp/language/operator_arithmetic,
bit_shift_left/right(value, 64)has undefined behavior.