https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71494
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 38680 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38680&action=edit gcc7-pr71494.patch Your testcase is IMNSHO invalid, you can't combine non-local goto with computed goto together, there is either computed goto, which can branch only to labels in the same function, or non-local goto, which needs to have a non-local label as goto operand, not *expression. But, I've changed it into a valid testcase. And with the fix even the invalid testcase doesn't ICE anymore.