https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758
--- Comment #2 from gyumin <guminb at ajou dot ac.kr> --- Dear GCC Development Team, I recently reported an inconsistency in the GCC compiler (RISC-V 64 version 14.0.0) involving bitwise AND operations between int and long long int variables. This issue, which occurs under different optimization levels, has been acknowledged, and I appreciate your response. Given the nature of this bug, I am curious about its potential impact on open-source projects. Specifically, I am concerned that the unexpected behavior in bitwise operations under different optimization levels might introduce vulnerabilities or other issues in open-source software that relies on precise bitwise manipulations. Could you please provide some insights on whether this bug might have security implications for open-source projects? Also, are there any recommended guidelines or best practices for developers to mitigate potential risks arising from this issue in their projects? Thank you for your attention to this matter. Best regards, [Gyumin Baek]