https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107755
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- One possible fix would be not to emit these warnings while processing_template_decl, the warning goes too deep into the expressions and even when the operands are neither type nor value dependent, if processing_template_decl they are far from what the middle-end code can grok. I wonder where IMPLICIT_CONV_EXPR gets lost, so the COND_EXPR with boolean_type_node type has RECORD_TYPE operand.