http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46935
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.12.14 14:14:18 Ever Confirmed|0 |1 --- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-12-14 14:14:18 UTC --- I would do the conversion always when we can turn more than one if into signle switch. Doing so reduces the amount of IL and makes program easier to analyze&opotimize. We should rely on switch expansion code doing the right thing producing back the ifs when profitable.