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

            Bug ID: 79841
           Summary: Inconsistent diagnostics in fortran/openmp.c, function
                    check_symbol_not_pointer
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

gfc_error ("POINTER object %qs of derived type in %s clause at %L",
           sym->name, name, &loc);
gfc_error ("Cray pointer object of derived type %qs in %s clause at %L",
           sym->name, name, &loc);

In the first call, the %qs appears after the word "object", in the second call
the %qs appear after the word "type".

As the German translator, I am confused now since the same expression is used
to refer to the object in one case and to the type of the object in the other
case.

All diagnostics in the check_symbol_not_pointer function should follow the same
pattern.

Reply via email to