diff options
author | Paul Koning <ni1d@arrl.net> | 2012-09-17 15:12:32 -0400 |
---|---|---|
committer | Paul Koning <pkoning@gcc.gnu.org> | 2012-09-17 15:12:32 -0400 |
commit | 2611b5ba2e1e9bffe94f47f31b299bc84a0c5136 (patch) | |
tree | 2707a154c92433c0e91e8690c6c8dbb00c6c0021 | |
parent | 61aa9333bad2876fb298f454dfd3d42836226f5e (diff) | |
download | gcc-2611b5ba2e1e9bffe94f47f31b299bc84a0c5136.zip gcc-2611b5ba2e1e9bffe94f47f31b299bc84a0c5136.tar.gz gcc-2611b5ba2e1e9bffe94f47f31b299bc84a0c5136.tar.bz2 |
invoke.text (-feliminate-unused-debug-types): Update to reflect that this is enabled by default.
2012-09-17 Paul Koning <ni1d@arrl.net>
* doc/invoke.text (-feliminate-unused-debug-types): Update to
reflect that this is enabled by default.
From-SVN: r191404
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6e6b54..3298a9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-17 Paul Koning <ni1d@arrl.net> + + * doc/invoke.text (-feliminate-unused-debug-types): Update to + reflect that this is enabled by default. + 2012-09-17 Ben Cheng <bccheng@google.com * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Suppress the diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1e8dcfe..5ee85d4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -324,7 +324,7 @@ Objective-C and Objective-C++ Dialects}. -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 @@ anything else. 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 |