diff mbox

[DOC] Update -feliminate-unused-debug-types description

Message ID C75A84166056C94F84D238A44AF9F6AD215664@AUSX10MPC103.AMER.DELL.COM
State New
Headers show

Commit Message

Paul Koning Sept. 17, 2012, 3:59 p.m. UTC
Currently the description of -feliminate-unused-debug-types says that it is off by default.  In fact, it is on by default.  The attached patch corrects the documentation to reflect that.

Ok to commit?

	paul

2012-09-17  Paul Koning  <ni1d@arrl.net>

	* doc/invoke.text (-feliminate-unused-debug-types): Update to
	reflect that this is enabled by default.

Comments

Ian Lance Taylor Sept. 17, 2012, 5:20 p.m. UTC | #1
On Mon, Sep 17, 2012 at 8:59 AM,  <Paul_Koning@dell.com> wrote:
>
> 2012-09-17  Paul Koning  <ni1d@arrl.net>
>
>         * doc/invoke.text (-feliminate-unused-debug-types): Update to
>         reflect that this is enabled by default.

This is OK.

Thanks.

Ian
Paul Koning Sept. 17, 2012, 7:12 p.m. UTC | #2
On Sep 17, 2012, at 1:20 PM, Ian Lance Taylor wrote:

> On Mon, Sep 17, 2012 at 8:59 AM,  <Paul_Koning@dell.com> wrote:
>> 
>> 2012-09-17  Paul Koning  <ni1d@arrl.net>
>> 
>>        * doc/invoke.text (-feliminate-unused-debug-types): Update to
>>        reflect that this is enabled by default.
> 
> This is OK.
> 
> Thanks.
> 
> Ian

Thanks.  Committed.

	paul
diff mbox

Patch

Index: invoke.texi
===================================================================
--- invoke.texi	(revision 191393)
+++ invoke.texi	(working copy)
@@ -324,7 +324,7 @@ 
 -fdump-tree-storeccp@r{[}-@var{n}@r{]} @gol
 -fdump-final-insns=@var{file} @gol
 -fcompare-debug@r{[}=@var{opts}@r{]}  -fcompare-debug-second @gol
--feliminate-dwarf2-dups -feliminate-unused-debug-types @gol
+-feliminate-dwarf2-dups -fno-eliminate-unused-debug-types @gol
 -feliminate-unused-debug-symbols -femit-class-debug-always @gol
 -fenable-@var{kind}-@var{pass} @gol
 -fenable-@var{kind}-@var{pass}=@var{range-list} @gol
@@ -6192,17 +6192,18 @@ 
 Print the compiler's built-in specs---and don't do anything else.  (This
 is used when GCC itself is being built.)  @xref{Spec Files}.
 
-@item -feliminate-unused-debug-types
+@item -fno-eliminate-unused-debug-types
 @opindex feliminate-unused-debug-types
-Normally, when producing DWARF 2 output, GCC emits debugging
+@opindex fno-eliminate-unused-debug-types
+Normally, when producing DWARF 2 output, GCC avoids producing debug symbol 
+output for types that are nowhere used in the source file being compiled.
+Sometimes it is useful to have GCC emit debugging
 information for all types declared in a compilation
 unit, regardless of whether or not they are actually used
-in that compilation unit.  Sometimes this is useful, such as
+in that compilation unit, for example 
 if, in the debugger, you want to cast a value to a type that is
 not actually used in your program (but is declared).  More often,
 however, this results in a significant amount of wasted space.
-With this option, GCC avoids producing debug symbol output
-for types that are nowhere used in the source file being compiled.
 @end table
 
 @node Optimize Options