On 9/22/25 14:18, Gerald Pfeifer wrote:
This adds two articles ("the" and "a"). Something still feels odd, though.
Sandra, what is your take?

(Not pushed yet.)

Gerald

gcc:
        * doc/extend.texi (Vector Extensions): Fix grammar.
---
  gcc/doc/extend.texi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 596cb5d3259..7ce26a97289 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -16529,8 +16529,8 @@ result of the comparison is a vector of the same width 
and number of
  elements as the comparison operands with a signed integral element
  type.
-Vectors are compared element-wise producing 0 when comparison is false
-and -1 (constant of the appropriate type where all bits are set)
+Vectors are compared element-wise producing 0 when the comparison is false
+and -1 (a constant of the appropriate type where all bits are set)
  otherwise. Consider the following example.
@smallexample

I'd use a colon instead of a period to introduce the @smallexample at the end.

As a separate issue, can we settle on a consistent use of "elementwise" vs "element-wise" and "bitwise" vs "bit-wise" (and possibly some other similar things) throughout the GCC documentation? We already seem to have a stronger precedent for "bitwise" than the hyphenated form. "Elementwise" is less clear, but if we don't hyphenate "bitwise" I don't know why we should use the hyphenated form for similar words. I suggest a separate patch for this cleanup.

-Sandra

Reply via email to