[Bug fortran/79601] New: Possibly wrong use of keyword "intent" in diagnostic

roland.illig at gmx dot de gcc-bugzilla@gcc.gnu.org
Sun Feb 19 20:12:00 GMT 2017


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

            Bug ID: 79601
           Summary: Possibly wrong use of keyword "intent" in diagnostic
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

fortran/interface.c:

  if (fsym->attr.intent != intent)
    gfc_error ("DTIO dummy argument at %L must have intent %s",
               &fsym->declared_at, gfc_code2string (intents, (int)intent));

Should the "intent %s" be "INTENT %s" instead?


More information about the Gcc-bugs mailing list