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

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Failing here in convert_nonlocal_reference_op:

1201                /* If none of the outer contexts is the target context,
this means
1202                   that the VAR or PARM_DECL is referenced in a wrong
context.  */
1203                if (!i)
1204                  internal_error ("%s from %s referenced in %s",
1205                                  IDENTIFIER_POINTER (DECL_NAME (t)),
1206                                  IDENTIFIER_POINTER (DECL_NAME
(target_context)),
1207                                  IDENTIFIER_POINTER (DECL_NAME
(info->context)));

Reply via email to