[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 30 09:57:42 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-05-30
             Status|UNCONFIRMED                 |NEW
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Yes, I can confirm that at time of if-to-switch conversion pass, the condition
'len > 3' is not extracted and is present in every condition.


More information about the Gcc-bugs mailing list