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

            Bug ID: 79608
           Summary: missing space in error message "bepositive"
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

From cp/semantics.c:

        case OMP_CLAUSE_VECTOR:
          warning_at (OMP_CLAUSE_LOCATION (c), 0,
                      "%<vector%> length value must be"
                      "positive");
          break;
        case OMP_CLAUSE_WORKER:
          warning_at (OMP_CLAUSE_LOCATION (c), 0,
                      "%<worker%> num value must be"
                      "positive");

You should check for any adjacent string literals where the first doesn't end
with a space _and_ the second doesn't start with a space.

Reply via email to