https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (eq @1 { build_one_cst (type); }) Should be: (convert (eq:boolean_type_node @1 { build_one_cst (type); })) The other part of the match pattern needs a similar fix too.