This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/49631] New: Driver --help should use common help code
- From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 4 Jul 2011 16:46:33 +0000
- Subject: [Bug driver/49631] New: Driver --help should use common help code
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49631
Summary: Driver --help should use common help code
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jsm28@gcc.gnu.org
At present gcc.c has its own code to handle --help and producing help text for
driver options and the code in opts.c excludes driver options. This should be
changed so that driver options have help text in the .opt files and this text
is used by the common machinery in producing --help output. (I don't know what
division between the driver and cc1 in producing that output would then be
appropriate.)