https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108783
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #54465|0 |1 is obsolete| | --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 54466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54466&action=edit gcc13-pr108783.patch Better patch. In the original testcase, a && a can be simplified to a despite being (ab), and generally, there is no need to build_and_add_sum if t is the same comparison as curr->op.