https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101706
Ivan Sorokin <vanyacpp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vanyacpp at gmail dot com --- Comment #2 from Ivan Sorokin <vanyacpp at gmail dot com> --- This issue was fixed in PR106379 by Richard Biener. After https://gcc.gnu.org/g:375668e0508fbe173af1ed519d8ae2b79f388d94 for both fa and fb we have: fa(bool&, bool&, bool&): movzx eax, BYTE PTR [rsi] cmp BYTE PTR [rdi], al sete BYTE PTR [rdx] ret fb(bool&, bool&, bool&): movzx eax, BYTE PTR [rsi] cmp BYTE PTR [rdi], al sete BYTE PTR [rdx] ret I think the issue can be closed now.