diff options
author | Devang Patel <dpatel@apple.com> | 2006-04-18 09:06:32 -0700 |
---|---|---|
committer | Devang Patel <dpatel@gcc.gnu.org> | 2006-04-18 09:06:32 -0700 |
commit | d955420ef2745f2a2c8ec7f0f6d2e2bd1296afb9 (patch) | |
tree | 2bbc0a277ddf50eed5000357e2876fea5e24f292 /gcc | |
parent | 7ae993371973b3d9cbac92704194033c252631f8 (diff) | |
download | gcc-d955420ef2745f2a2c8ec7f0f6d2e2bd1296afb9.zip gcc-d955420ef2745f2a2c8ec7f0f6d2e2bd1296afb9.tar.gz gcc-d955420ef2745f2a2c8ec7f0f6d2e2bd1296afb9.tar.bz2 |
* doc/invoke.texi (-Wuninitialized): Clarify -O connection.
From-SVN: r113048
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b3d3f6..4e1a2e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-04-18 Devang Patel <dpatel@apple.com> + + * doc/invoke.texi (-Wuninitialized): Clarify -O connection. + 2006-04-18 Nick Clifton <nickc@redhat.com> * config/sh/t-symbian: Add rule to build sh-c.o diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7080aac..5dcf70b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2682,8 +2682,9 @@ if a variable may be clobbered by a @code{setjmp} call. These warnings are possible only in optimizing compilation, because they require data flow information that is computed only -when optimizing. If you don't specify @option{-O}, you simply won't -get these warnings. +when optimizing. If you do not specify @option{-O}, you will not get +these warnings. Instead, GCC will issue a warning about @option{-Wuninitialized} +requiring @option{-O}. If you want to warn about code which uses the uninitialized value of the variable in its own initializer, use the @option{-Winit-self} option. |