This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[DOC PATCH] Fix -Wno-odr entry
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 28 Jul 2014 17:19:29 +0200
- Subject: [DOC PATCH] Fix -Wno-odr entry
- Authentication-results: sourceware.org; auth=none
-Wodr entry was missing an @item. Plus some corrections.
Ok for trunk?
2014-07-28 Marek Polacek <polacek@redhat.com>
* doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
diff --git gcc/doc/invoke.texi gcc/doc/invoke.texi
index aaa5a68..7cebb9e 100644
--- gcc/doc/invoke.texi
+++ gcc/doc/invoke.texi
@@ -4927,11 +4927,11 @@ attribute.
@opindex Woverflow
Do not warn about compile-time overflow in constant expressions.
-@opindex Wodr
+@item -Wno-odr
@opindex Wno-odr
@opindex Wodr
-Warn about One Definition Rule violations during link time optimization.
-Require @option{-flto-odr-type-merging} to be enabled. Enabled by default
+Warn about One Definition Rule violations during link-time optimization.
+Requires @option{-flto-odr-type-merging} to be enabled. Enabled by default.
@item -Wopenmp-simd
@opindex Wopenm-simd
Marek