http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54505
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|steven at gcc dot gnu.org | --- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2012-09-06 17:30:43 UTC --- I don't think this transformation would always be an improvement. Had a developer wanted to use a switch, I'd think he/she would have used one. A dispatch table is much more code-size efficient compared to a switch.