Hi,

debugging a regression on a patch, I just stumbled across a
symbol with addr.flavor = FL_PARAMETER and attr.dummy = 1, which
IMHO makes less than zero sense.

This apparently comes from, in coarray.cc,

#define ADD_ARG(name, nsym, stype, skind, sintent)                             \
  gfc_get_symbol (name, sub_ns, &nsym);                                        \
  nsym->ts.type = stype;                                                       \
  nsym->ts.kind = skind;                                                       \
  nsym->attr.flavor = FL_PARAMETER;                                            \
  nsym->attr.dummy = 1;                                                        \
  nsym->attr.intent = sintent;                                                 \
  nsym->declared_at = expr->where;                                             \
  gfc_set_sym_referenced (nsym);                                               \
  *argptr = gfc_get_formal_arglist ();                                         \
  (*argptr)->sym = nsym;                                                       \

However, I'm not into coarray code, so there may be some hidden meaning
to it after all.

Comments?

Best regards

        Thomas

Reply via email to