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

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
             Status|NEW                         |ASSIGNED

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Mine. 

So what is happening is we are removing a forwarder block that goes directly to
__builtin_unreachable ().
end_recording_case_labels happens at the end of cleanupcfg which calls
group_case_labels_stmt .
group_case_labels_stmt then removes those cases which is what it is designed.
Leaving with only default left. and that causes problems.

I am trying to figure out if the caller to group_case_labels_stmt  should
handle the case where we only have default left or should
group_case_labels_stmt .

Reply via email to