https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334
--- Comment #17 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 2 Feb 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334 > > Jakub Jelinek <jakub at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|NEW |ASSIGNED > Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot > gnu.org > > --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Created attachment 52328 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52328&action=edit > gcc12-pr104334.patch > > Better untested fix. unconditional using wi::to_widest for the compares might also work?