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

            Bug ID: 80001
           Summary: diagnostics: untranslateable %s placeholders in
                    omp-offload.c
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

from omp-offload.c:

error_at (loop->loc,
          "%s uses same OpenACC parallelism as containing loop",
          loop->routine ? "routine call" : "inner loop");

The %s placeholder cannot be translated into other languages, but should be.
Therefore the ?: should be replaced with a ?: for the whole sentence.


error_at (loop->loc, loop->routine
          ? "routine call uses same OpenACC parallelism as containing loop"
          : "inner loop uses same OpenACC parallelism as containing loop");

Reply via email to