This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[DOC PATCH] Fix -Wno-odr entry


-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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]