diff options
author | Akim Demaille <demaille@gostai.com> | 2009-09-12 15:41:59 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2009-09-12 15:41:59 +0000 |
commit | 460ba3964030fabb7fd9650dacdfd3f551187d5e (patch) | |
tree | 472f7048811f247fd4f257a9ca47d2c6b09efc48 /gcc/doc | |
parent | b495ad7f55d1acba403e4d6e53fe38626d91be10 (diff) | |
download | gcc-460ba3964030fabb7fd9650dacdfd3f551187d5e.zip gcc-460ba3964030fabb7fd9650dacdfd3f551187d5e.tar.gz gcc-460ba3964030fabb7fd9650dacdfd3f551187d5e.tar.bz2 |
invoke.texi (-fstrict-aliasing): Correct two examples.
* doc/invoke.texi (-fstrict-aliasing): Correct two examples.
Use an imperative sentence.
From-SVN: r151654
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e1d9fe1..8efaf3b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6869,7 +6869,7 @@ Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}. @item -fstrict-aliasing @opindex fstrict-aliasing -Allows the compiler to assume the strictest aliasing rules applicable to +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 @@ -6886,7 +6886,7 @@ union a_union @{ @}; int f() @{ - a_union t; + union a_union t; t.d = 3.0; return t.i; @} @@ -6899,7 +6899,7 @@ expected. @xref{Structures unions enumerations and bit-fields implementation}. However, this code might not: @smallexample int f() @{ - a_union t; + union a_union t; int* ip; t.d = 3.0; ip = &t.i; |