aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/implement-c.texi
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-06-25 01:36:58 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2008-06-25 01:36:58 +0000
commit917db97b023775f3031e99040ed9d058ffdcbd21 (patch)
tree23bb4c272723918d0263fd3f7f67da2986a41d02 /gcc/doc/implement-c.texi
parent9af5483ab3f3459aeecabb4207170eb6d4ebb79f (diff)
downloadgcc-917db97b023775f3031e99040ed9d058ffdcbd21.zip
gcc-917db97b023775f3031e99040ed9d058ffdcbd21.tar.gz
gcc-917db97b023775f3031e99040ed9d058ffdcbd21.tar.bz2
invoke.texi (Optimize Options): Add anchor for the type-punning blurb.
* doc/invoke.texi (Optimize Options) <fstrict-aliasing>: Add anchor for the type-punning blurb. Cross-reference "Structures unions enumerations and bit-fields implementation". Provide a cast-through-pointer example. Make final sentence self-contained. * doc/implement-c.texi (Structures unions enumerations and bit-fields implementation): Cross-reference the type-punning blurb in the -fstrict-aliasing documentation. From-SVN: r137095
Diffstat (limited to 'gcc/doc/implement-c.texi')
-rw-r--r--gcc/doc/implement-c.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/implement-c.texi b/gcc/doc/implement-c.texi
index b7d34ee..6a1b59b 100644
--- a/gcc/doc/implement-c.texi
+++ b/gcc/doc/implement-c.texi
@@ -433,8 +433,8 @@ used to determine if a function has not been inlined and why not.
different type (C90 6.3.2.3).}
The relevant bytes of the representation of the object are treated as
-an object of the type used for the access. This may be a trap
-representation.
+an object of the type used for the access. @xref{Type-punning}. This
+may be a trap representation.
@item
@cite{Whether a ``plain'' @code{int} bit-field is treated as a