[Bug tree-optimization/54505] RFE: Inline function tables

steven at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 6 17:31:00 GMT 2012


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.



More information about the Gcc-bugs mailing list