[gcc(refs/vendors/ibm/heads/perf)] Document that -Wbuiltin-declaration-mismatch is enabled by default.

Jiu Fu Guo guojiufu@gcc.gnu.org
Thu Mar 19 05:57:23 GMT 2020


https://gcc.gnu.org/g:ab466f73bb3bd24965cb2c7635b0339509dafbe3

commit ab466f73bb3bd24965cb2c7635b0339509dafbe3
Author: Martin Sebor <msebor@redhat.com>
Date:   Thu Feb 27 16:53:01 2020 -0700

    Document that -Wbuiltin-declaration-mismatch is enabled by default.
    
    gcc/ChangeLog:
    
            * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.

Diff:
---
 gcc/ChangeLog       | 4 ++++
 gcc/doc/invoke.texi | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f5d4e6dd582..1992369d068 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-27  Martin Sebor  <msebor@redhat.com>
+
+	* doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.
+
 2020-02-27  Michael Meissner  <meissner@linux.ibm.com>
 
 	PR target/93932
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e70ece6d492..4f88fe68999 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7683,7 +7683,7 @@ or as a non-function, or when a built-in function declared with a type
 that does not include a prototype is called with arguments whose promoted
 types do not match those expected by the function.  When @option{-Wextra}
 is specified, also warn when a built-in function that takes arguments is
-declared without a prototype.  The @option{-Wno-builtin-declaration-mismatch}
+declared without a prototype.  The @option{-Wbuiltin-declaration-mismatch}
 warning is enabled by default.  To avoid the warning include the appropriate
 header to bring the prototypes of built-in functions into scope.


More information about the Gcc-cvs mailing list