public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/31352]  New: gcc -v --help doesn't notice when front-ends documentation differs for same option
@ 2007-03-25 22:07 brooks at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: brooks at gcc dot gnu dot org @ 2007-03-25 22:07 UTC (permalink / raw)
  To: gcc-bugs

When an option is present in multiple front ends, the gcc -v --help output
assumes that the documentation is the same in all of the front ends for which
the option is present, and only reports the documentation string for the first
front end for which it appears.

For example, in 4.2, the Ada output has
-------------------------------
  -Wall                       This switch lacks documentation
-------------------------------
and then, in the C output, we have
-------------------------------
  -I, -Wall, -Wlong-long, -Wmissing-format-attribute, -Wmissing-prototypes,
-------------------------------
rather than giving the documentation string for -Wall that's present in c.opt.

Currently, I _think_ this is only affecting the Ada options that lack
documentation (and are thus bug #31351), but it seems unfortunate for the
future as well, since some options may have different interpretations in
different langauges.


-- 
           Summary: gcc -v --help doesn't notice when front-ends
                    documentation differs for same option
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brooks at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-25 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 22:07 [Bug other/31352] New: gcc -v --help doesn't notice when front-ends documentation differs for same option brooks 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).