[PATCH] Clarify -Wuninitialized doc

Gerald Pfeifer gerald@pfeifer.com
Thu Apr 13 08:06:00 GMT 2006

On Wed, 12 Apr 2006, Devang Patel wrote:
> Index: invoke.texi
> ===================================================================
> --- invoke.texi (revision 112910)
> +++ invoke.texi (working copy)
> @@ -2683,7 +2683,9 @@ if a variable may be clobbered by a @cod
> 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.
> +get these warnings about uninitialized variables. However, in this case
> +GCC issues warning about @option{-Wuninitialized} is not supported
> +without @option{-O}.

I'm afraid this is not proper English.

If you want to have this change, my recommendation would be to make this 
something like the following:

  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}.


More information about the Gcc-patches mailing list