https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot 
gnu.org
           Severity|normal                      |enhancement
             Status|NEW                         |ASSIGNED

--- Comment #23 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The problem is switchconv bails out early for 0/1 case. If you add `case 2:
return 3;` switchconv works.

Linear transformation with A = 1 and B = 1


vs:

Bailing out - expanding as jumps is preferable


I am going to look into not bailing out early for this case. to see if there is
transformation first.

Reply via email to