This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[cygnus.bug-gcc] `-Q' switch to GCC is not documented; fix included
- To: law at cygnus dot com
- Subject: [cygnus.bug-gcc] `-Q' switch to GCC is not documented; fix included
- From: Michael Meissner <meissner at cygnus dot com>
- Date: 02 Dec 1997 15:06:01 -0500
- CC: egcs at cygnus dot com
I tend to agree with Nate's posting to bug-gcc, we probably should document
this in egcs. I mean the switch has been valid since at least gcc 2 if not gcc
1.35 and beyond.
------- Start of forwarded message -------
From: eldredge@ap.net (Nate Eldredge)
Newsgroups: cygnus.bug-gcc
Subject: `-Q' switch to GCC is not documented; fix included
Date: 30 Nov 1997 10:58:57 -0800
Message-ID: <199711301858.KAA28290.cygnus.bug-gcc@adit.ap.net>
To: bug-gcc@prep.ai.mit.edu
The title pretty much says it. GCC's `-Q' option, which prints each
function's name as it is compiled, and prints some time statistics at the
end, isn't mentioned in the documentation, at least for GCC 2.7.2.1. Here is
a patch which adds it.
*** invoke.texi~ Tue Oct 3 15:40:43 1995
--- invoke.texi Sun Nov 30 09:02:56 1997
***************
*** 1582,1587 ****
--- 1582,1591 ----
however, that the format of the data is not what @code{tcov} expects.
Eventually GNU @code{gprof} should be extended to process this data.
+ @item -Q
+ Makes the compiler print out each function name as it is compiled, and
+ print some statistics about each pass when it finishes.
+
@item -d@var{letters}
Says to make debugging dumps during compilation at times specified by
@var{letters}. This is used for debugging the compiler. The file names
Nate Eldredge
eldredge@ap.net
------- End of forwarded message -------
--
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com, 617-354-5416 (office), 617-354-7161 (fax)