public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add missing -fdump-* options
@ 2014-05-09 15:54 Teresa Johnson
  2014-05-13  8:39 ` Richard Biener
  0 siblings, 1 reply; 7+ messages in thread
From: Teresa Johnson @ 2014-05-09 15:54 UTC (permalink / raw)
  To: gcc-patches; +Cc: David Li

I discovered that the support for the documented -fdump-* options
"optimized", "missed", "note" and "optall" was missing. Added that and
fixed a minor typo in the documentation.

Bootstrapped and tested on x86-64-unknown-linux-gnu. Ok for trunk?

Thanks,
Teresa

2014-05-09  Teresa Johnson  <tejohnson@google.com>

        * doc/invoke.texi: Fix typo.
        * dumpfile.c: Add support for documented -fdump-* options
        optimized/missed/note/optall.

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi     (revision 210157)
+++ doc/invoke.texi     (working copy)
@@ -6278,7 +6278,7 @@ passes).
 @item missed
 Enable showing missed optimization information (only available in certain
 passes).
-@item notes
+@item note
 Enable other detailed optimization information (only available in
 certain passes).
 @item =@var{filename}
Index: dumpfile.c
===================================================================
--- dumpfile.c  (revision 210157)
+++ dumpfile.c  (working copy)
@@ -107,6 +107,10 @@ static const struct dump_option_value_info dump_op
   {"nouid", TDF_NOUID},
   {"enumerate_locals", TDF_ENUMERATE_LOCALS},
   {"scev", TDF_SCEV},
+  {"optimized", MSG_OPTIMIZED_LOCATIONS},
+  {"missed", MSG_MISSED_OPTIMIZATION},
+  {"note", MSG_NOTE},
+  {"optall", MSG_ALL},
   {"all", ~(TDF_RAW | TDF_SLIM | TDF_LINENO | TDF_TREE | TDF_RTL | TDF_IPA
            | TDF_STMTADDR | TDF_GRAPH | TDF_DIAGNOSTIC | TDF_VERBOSE
            | TDF_RHS_ONLY | TDF_NOUID | TDF_ENUMERATE_LOCALS | TDF_SCEV)},


-- 
Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-26 17:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09 15:54 [PATCH] Add missing -fdump-* options Teresa Johnson
2014-05-13  8:39 ` Richard Biener
2014-05-13 13:18   ` Teresa Johnson
2014-05-13 15:19   ` Xinliang David Li
2014-06-25 14:22     ` Teresa Johnson
2014-06-26  7:40       ` Richard Biener
2014-06-26 17:46         ` Teresa Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).