public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/44933]  New: --help=common undocumented
@ 2010-07-14 13:38 aldot at gcc dot gnu dot org
  2010-09-21 20:59 ` [Bug driver/44933] " rwild at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: aldot at gcc dot gnu dot org @ 2010-07-14 13:38 UTC (permalink / raw)
  To: gcc-bugs

$ grep -A11 "specifics\[]" gcc/opts.c
            specifics[] =
            {
              { "optimizers", CL_OPTIMIZATION },
              { "target", CL_TARGET },
              { "warnings", CL_WARNING },
              { "undocumented", CL_UNDOCUMENTED },
              { "params", CL_PARAMS },
              { "joined", CL_JOINED },
              { "separate", CL_SEPARATE },
              { "common", CL_COMMON },
              { NULL, 0 }
            };
./xgcc --help | grep help=
 
--help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]

diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6a0dae5..a1aad41 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3366,7 +3366,7 @@ display_help (void)
   fputs (_("  -pass-exit-codes         Exit with highest error code from a
phase\n"), stdout);
   fputs (_("  --help                   Display this information\n"), stdout);
   fputs (_("  --target-help            Display target specific command line
options\n"), stdout);
-  fputs (_(" 
--help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]\n"),
stdout);
+  fputs (_(" 
--help={common|target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]\n"),
stdout);
   fputs (_("                           Display specific types of command line
options\n"), stdout);
   if (! verbose_flag)
     fputs (_("  (Use '-v --help' to display command line options of
sub-processes)\n"), stdout);



oh and AFAICS there is no --help=debug that would list (e.g.)
-fdump-[rtl|tree]-<pass>


-- 
           Summary: --help=common undocumented
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44933


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

* [Bug driver/44933] --help=common undocumented
  2010-07-14 13:38 [Bug driver/44933] New: --help=common undocumented aldot at gcc dot gnu dot org
@ 2010-09-21 20:59 ` rwild at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-09-21 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rwild at gcc dot gnu dot org  2010-09-21 20:58 -------
Please send patches to the gcc-patches list, in the usual format and with all
information attached as per <http://gcc.gnu.org/contribute.html>.  You might
want to consider wrapping lines so neither source file nor --help output go
beyond 80 columns.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44933


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

end of thread, other threads:[~2010-09-21 20:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-14 13:38 [Bug driver/44933] New: --help=common undocumented aldot at gcc dot gnu dot org
2010-09-21 20:59 ` [Bug driver/44933] " rwild at gcc dot gnu dot org

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).