[Bug tree-optimization/45830] [4.4/4.5/4.6 Regression] Code+rodata increase with -ftree-switch-conversion
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 19 16:18:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45830
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-19 16:17:06 UTC ---
Created attachment 22459
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22459
gcc46-pr45830.patch
Untested fix that should cure both reported issues, i.e. don't optimize and let
switch being expanded as bit test if beneficial, and use smaller integral types
when possible for the CSWTCH arrays.
More information about the Gcc-bugs
mailing list