diff options
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 473339ec736..95cea834407 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -6823,7 +6823,7 @@ a = 2 * b; /* a = @{2,2,2,2@} * b; */ a = l + a; /* Error, cannot convert long to int. */ @end smallexample -In C vectors can be subscripted as if the vector were an array with +Vectors can be subscripted as if the vector were an array with the same number of elements and base type. Out of bound accesses invoke undefined behavior at runtime. Warnings for out of bound accesses for vector subscription can be enabled with |