]> git.ipfire.org Git - thirdparty/gcc.git/commit
doc: say "compatible types" for -fstrict-aliasing
authorSam James <sam@gentoo.org>
Mon, 24 Mar 2025 04:32:47 +0000 (04:32 +0000)
committerSam James <sam@gentoo.org>
Thu, 17 Apr 2025 15:19:44 +0000 (16:19 +0100)
commit7c47badcdc8625ea53aed275be96c32bc78db25b
tree40adea7a2ee89d42ed626c8b204b77694bd3c305
parentc237297ee596545552f48ec9582d7d16703d8949
doc: say "compatible types" for -fstrict-aliasing

Include the term used in the standard to ease further research for users,
and while at it, rephrase the description of the rule entirely using
Alexander Monakov's suggestion: it was previously wrong (and imprecise) as
"the same address" may well be re-used later on, and the issue is the
access via an expression of the wrong type.

gcc/ChangeLog:

* doc/invoke.texi: Use "compatible types" term. Rephrase to be
more precise (and correct).
gcc/doc/invoke.texi