[Bug c++/115160] Enabling undefined behaviour sanitizer causes or'ed bit shift to report wrong result

2024-05-21 Thread raanan.lori at getnexar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115160 --- Comment #4 from Ra'anan Lori --- okay, thanks for the explanation

[Bug c++/115160] Enabling undefined behaviour sanitizer causes or'ed bit shift to report wrong result

2024-05-21 Thread raanan.lori at getnexar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115160 --- Comment #2 from Ra'anan Lori --- it's sad to see this response, since the major issue here is that a user that wants to use the undefined behaviour sanitizer in such a case will not only get no warning but also still have the UB and will ge

[Bug c++/115160] New: Enabling undefined behaviour sanitizer causes or'ed bit shift to report wrong result

2024-05-20 Thread raanan.lori at getnexar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115160 Bug ID: 115160 Summary: Enabling undefined behaviour sanitizer causes or'ed bit shift to report wrong result Product: gcc Version: 9.4.0 Status: UNCONFIRMED Se