https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 52313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52313&action=edit gcc12-pr104280.patch Untested fix for all 3 PRs. For the signed 1 / X case we don't need to change anything (except formatting), because genmatch for (cond (le ...) ...) already uses boolean_type_node for the comparison and COND_EXPR itself should have type.