[Bug c/104948] When '&&' present in a comparison, a warning should be generated
coenraad at wish dot org.za
gcc-bugzilla@gcc.gnu.org
Wed Mar 16 09:07:00 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104948
--- Comment #3 from dagelf <coenraad at wish dot org.za> ---
Can you please give me an example of code with the generated machine code where
it actually works as a logical AND?
Because I've tried several versions, and under no circumstances did it function
as a binary operator.
The warning might be improved to state that `&&` is not logical AND.
More information about the Gcc-bugs
mailing list