public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/31356] New: gcc --help=<language> option has problems in the output header line.
@ 2007-03-25 22:29 brooks at gcc dot gnu dot org
2007-03-25 23:33 ` [Bug other/31356] " brooks at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-25 22:29 UTC (permalink / raw)
To: gcc-bugs
Consider the following output:
--------------------------------------------
> ~/bin-trunk/bin/gcc --help=fortran
The following options are supported by, amoung others, the language :
-I This switch lacks documentation
[...]
--------------------------------------------
The language name seems to be missing from the first line. (Also, "amoung" is
an obvious typo.)
--
Summary: gcc --help=<language> option has problems in the output
header line.
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
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=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/31356] gcc --help=<language> option has problems in the output header line.
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
@ 2007-03-25 23:33 ` brooks at gcc dot gnu dot org
2007-03-28 18:23 ` brooks at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-25 23:33 UTC (permalink / raw)
To: gcc-bugs
--
brooks at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |brooks at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-26 00:33:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/31356] gcc --help=<language> option has problems in the output header line.
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
2007-03-25 23:33 ` [Bug other/31356] " brooks at gcc dot gnu dot org
@ 2007-03-28 18:23 ` brooks at gcc dot gnu dot org
2007-03-29 10:12 ` nickc at redhat dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-28 18:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from brooks at gcc dot gnu dot org 2007-03-28 19:23 -------
Patch posted, but the patch tracker didn't see it:
http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01657.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/31356] gcc --help=<language> option has problems in the output header line.
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
2007-03-25 23:33 ` [Bug other/31356] " brooks at gcc dot gnu dot org
2007-03-28 18:23 ` brooks at gcc dot gnu dot org
@ 2007-03-29 10:12 ` nickc at redhat dot com
2007-04-04 18:17 ` brooks at gcc dot gnu dot org
2007-04-04 18:24 ` brooks at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: nickc at redhat dot com @ 2007-03-29 10:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from nickc at redhat dot com 2007-03-29 11:11 -------
Hi Brooks,
> One difference that I see between our patches -- you have:
> + if (* descrip_extra == '\0')
> + descrip_extra = lang_names [i];
> whereas mine just unconditionally assigns descrip_extra to
> lang_names[i]. Is there are reason you made this conditional?
Not really, just a hunch. I felt that the first language name set would
probably be the most "mainstream" of the possible language names that might be
displayed. Of course I did not actually go so far as to check this, and your
version of the patch is simpler and therefore better.
Cheers
Nick
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/31356] gcc --help=<language> option has problems in the output header line.
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-03-29 10:12 ` nickc at redhat dot com
@ 2007-04-04 18:17 ` brooks at gcc dot gnu dot org
2007-04-04 18:24 ` brooks at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-04-04 18:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from brooks at gcc dot gnu dot org 2007-04-04 19:17 -------
Subject: Bug 31356
Author: brooks
Date: Wed Apr 4 19:17:30 2007
New Revision: 123499
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123499
Log:
PR other/31356
* gcc.c (print_specific_help): Fix --help=<language>
header line.
(common_handle_option): Support --help=common.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/opts.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/31356] gcc --help=<language> option has problems in the output header line.
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-04-04 18:17 ` brooks at gcc dot gnu dot org
@ 2007-04-04 18:24 ` brooks at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-04-04 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from brooks at gcc dot gnu dot org 2007-04-04 19:24 -------
Fixed, as per the above commit.
--
brooks at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31356
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-04 18:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 22:29 [Bug other/31356] New: gcc --help=<language> option has problems in the output header line brooks at gcc dot gnu dot org
2007-03-25 23:33 ` [Bug other/31356] " brooks at gcc dot gnu dot org
2007-03-28 18:23 ` brooks at gcc dot gnu dot org
2007-03-29 10:12 ` nickc at redhat dot com
2007-04-04 18:17 ` brooks at gcc dot gnu dot org
2007-04-04 18:24 ` 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).