https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866
Andi Kleen <andi-gcc at firstfloor dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andi-gcc at firstfloor dot org --- Comment #3 from Andi Kleen <andi-gcc at firstfloor dot org> --- Created attachment 58804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58804&action=edit handle switch in tree if-conversion Here's a patch that passes simple test cases on x86_64. It adds recognition of simple switches (like the ones generated by if to switch) to tree-ifcvt. Still running a full test.