[Bug c++/66520] bad code generated code for branches with single &

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Sun Jun 14 10:58:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66520

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
If a and b are side-effect-free, pure-boolean expressions then `a && b' and `a
& b' are completely equivalent and there is no reason to generate different
code for them.



More information about the Gcc-bugs mailing list