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]

Re: -fdump-translation-unit considered harmful


Ian Lance Taylor <ian@airs.com> writes:
> -fdump-translation-unit doesn't do anything in the C frontend.

Is the patch below OK to update documentation accordingly?  Tested
with make info and make dvi.

2005-05-12  Adam Nemet  <anemet@lnxw.com>

	* doc/invoke.texi (Debugging Options): Option
	-fdump-translation-unit only works with C++ now.

Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.619
diff -u -p -r1.619 invoke.texi
--- invoke.texi	10 May 2005 16:10:54 -0000	1.619
+++ invoke.texi	13 May 2005 06:18:00 -0000
@@ -3787,8 +3787,8 @@ numbers and line number note output.  Th
 use diff on debugging dumps for compiler invocations with different
 options, in particular with and without @option{-g}.
 
-@item -fdump-translation-unit @r{(C and C++ only)}
-@itemx -fdump-translation-unit-@var{options} @r{(C and C++ only)}
+@item -fdump-translation-unit @r{(C++ only)}
+@itemx -fdump-translation-unit-@var{options} @r{(C++ only)}
 @opindex fdump-translation-unit
 Dump a representation of the tree structure for the entire translation
 unit to a file.  The file name is made by appending @file{.tu} to the


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