2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
example.
From-SVN: r219494
+2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
+ example.
+
2015-01-12 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/64563
@item -Wbad-function-cast @r{(C and Objective-C only)}
@opindex Wbad-function-cast
@opindex Wno-bad-function-cast
-Warn whenever a function call is cast to a non-matching type.
-For example, warn if @code{int malloc()} is cast to @code{anything *}.
+Warn when a function call is cast to a non-matching type.
+For example, warn if a call to a function returning an integer type
+is cast to a pointer type.
@item -Wc90-c99-compat @r{(C and Objective-C only)}
@opindex Wc90-c99-compat