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

            Bug ID: 71494
           Summary: label as value in nested function
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mike.osipov at gmail dot com
  Target Milestone: ---

Created attachment 38676
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38676&action=edit
sample source

"goto *label" leads to the internal compiler error when used in nested function

$ gcc main.c
main.c: In function ‘test’:
main.c:7:3: internal compiler error: in expand_expr_real_1, at expr.c:9651
   goto *label;
   ^~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.

Reply via email to