diff options
Diffstat (limited to 'gcc/doc')
| -rw-r--r-- | gcc/doc/extend.texi | 15 | ||||
| -rw-r--r-- | gcc/doc/install.texi | 17 | ||||
| -rw-r--r-- | gcc/doc/invoke.texi | 13 |
3 files changed, 29 insertions, 16 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 882c082..8aaedae 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7311,11 +7311,16 @@ the attribute. When the field that represents the number of the elements is assigned a negative integer value, the compiler treats the value as zero. -The @code{counted_by} attribute is not allowed for a pointer to @code{void}, -a pointer to function, or a pointer to a structure or union that includes -a flexible array member. However, it is allowed for a pointer to -non-void incomplete structure or union types, as long as the type could -be completed before the first reference to the pointer. +The @code{counted_by} attribute is not allowed for a pointer to function, +or a pointer to a structure or union that includes a flexible array member. +However, it is allowed for a pointer to non-void incomplete structure +or union types, as long as the type could be completed before the first +reference to the pointer. + +The attribute is allowed for a pointer to @code{void}. However, +warnings will be issued for such cases when @option{-Wpointer-arith} is +specified. When this attribute is applied on a pointer to @code{void}, +the size of each element of this pointer array is treated as 1. An explicit @code{counted_by} annotation defines a relationship between two objects, @code{p->array} and @code{p->count}, and there are the diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 576b7ee..50cefa1 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -304,17 +304,14 @@ mdoc. GNU groff is required to convert them to PDF format. Conversion to HTML is done with mandoc, available at @uref{https://mandoc.bsd.lv}. +The COBOL runtime library. libgcobol, requires libxml2 2.9 or later. +It implements support for @code{XML PARSE}. + Because ISO COBOL defines strict requirements for numerical precision, -gcobol requires hardware with 128-bit computation instructions. This -requirement applies to both host and target. For integer and -fixed-point computation, gcobol uses -@deftp {Data type} __int128 -@end deftp -meaning @code{16 == sizeof(long long int)}. -For floating point, gcobol uses -@deftp {Data type} _Float128 -@end deftp -(On some architectures, GCC supports 128-bit floating point in software.) +gcobol computes with 128-bit operands. This requirement applies to +both host and target. For integers, gcobol requires the platform to +support the GCC @code{__int128} type. For floating point it uses +@code{_Float128} or similar. gcobol has so far been tested on two architectures only: x86_64 and aarch64 with little-endian encoding. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b40fc89..32b9c48 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1097,7 +1097,7 @@ Objective-C and Objective-C++ Dialects}. -mfpu=@var{fpu-type} -msimd=@var{simd-type} -msoft-float -msingle-float -mdouble-float -mlsx -mno-lsx -mlasx -mno-lasx -mbranch-cost=@var{n} -maddr-reg-reg-cost=@var{n} -mcheck-zero-division --mno-check-zero-division +-mno-check-zero-division -mbreak-code=@var{code} -mcond-move-int -mno-cond-move-int -mcond-move-float -mno-cond-move-float -memcpy -mno-memcpy -mstrict-align -mno-strict-align -G @var{num} @@ -28457,6 +28457,17 @@ Trap (do not trap) on integer division by zero. The default is @option{-mcheck-zero-division} for @option{-O0} or @option{-Og}, and @option{-mno-check-zero-division} for other optimization levels. +@opindex mbreak-code +@item -mbreak-code=@var{code} +Emit a @code{break} @var{code} instruction for irrecoverable traps +from @code{__builtin_trap} or inserted by the compiler (for example +an erroneous path isolated with +@option{-fisolate-erroneous-paths-dereference}), or an +@code{amswap.w $r0, $r1, $r0} instruction which will cause the hardware +to trigger an Instruction Not-defined Exception if @var{code} is negative +or greater than 32767. The default is -1, meaning to use the +@code{amswap.w} instruction. + @opindex mcond-move-int @item -mcond-move-int @itemx -mno-cond-move-int |
