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

            Bug ID: 80760
           Summary: Suggested clarification of an error message
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: goeran at uddeborg dot se
  Target Milestone: ---

The message

  "%<l1-cache-size%> parameter is not a power of two %d"

(from
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/tree-ssa-loop-prefetch.c?view=markup#l2038)
caused a bit of confusion during our translation into Swedish.  We now realise
the %d will become the size which is not a power of two.  But we still feel the
message is a bit strange, with the word "two" directly followed by a number. 
Could I suggest a clarification.  Perhaps

  "%<l1-cache-size%> parameter is %d which is not a power of two"

or at least a colon to separate the size from the message proper

  "%<l1-cache-size%> parameter is not a power of two: %d"

Reply via email to