On Wed, Mar 26, 2025 at 10:41:52AM +0000, Sam James wrote:
> Include the term used in the standard to ease further research for users.
>
> gcc/ChangeLog:
>
> * doc/invoke.texi: Use "compatible types" term.
> ---
> gcc/doc/invoke.texi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index b3f7f0479cc4..ad749f2fd258 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -14552,10 +14552,10 @@ Allow the compiler to assume the strictest aliasing
> rules applicable to
> the language being compiled. For C (and C++), this activates
> optimizations based on the type of expressions. In particular, an
> object of one type is assumed never to reside at the same address as an
> -object of a different type, unless the types are almost the same. For
> -example, an @code{unsigned int} can alias an @code{int}, but not a
> -@code{void*} or a @code{double}. A character type may alias any other
> -type.
> +object of a different type, unless the types are almost the same
> +(``compatible types''). For example, an @code{unsigned int} can alias an
IMHO `` '' quoting does not belong to texi docs.
Use some @emph{} or @dfn{} or @strong{} or something like that.
Jakub