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.