Re: RFC: --help for Driver options (was: [Patch] gcc.c: Add -foffload= to display_help)

2021-06-30 Thread Joseph Myers
On Wed, 30 Jun 2021, Tobias Burnus wrote: > While looking at that issue, Jakub and I wondered whether there > should be some warning if a Driver option has a help text, > which never appears. Migrating from hardcoded help text in gcc.c to using .opt help text for Driver options to generate --hel

RFC: --help for Driver options (was: [Patch] gcc.c: Add -foffload= to display_help)

2021-06-30 Thread Tobias Burnus
RFC for this topic. Comments are welcome as is someone volunteering to cleanup this mess :-) On 30.06.21 14:24, Tobias Burnus wrote: This is a side effect of removing 'foffload=' from Common as Driver only does not show up with --help=... but only as hard-coded list via display_help. While loo

Re: [Patch] gcc.c: Add -foffload= to display_help

2021-06-30 Thread Jakub Jelinek via Gcc-patches
On Wed, Jun 30, 2021 at 02:24:51PM +0200, Tobias Burnus wrote: > This is a side effect of removing 'foffload=' from Common > as Driver only does not show up with --help=... but only > as hard-coded list via display_help. > > OK? > > Tobias > > PS: additional remarks in the next email. > > -

[Patch] gcc.c: Add -foffload= to display_help

2021-06-30 Thread Tobias Burnus
This is a side effect of removing 'foffload=' from Common as Driver only does not show up with --help=... but only as hard-coded list via display_help. OK? Tobias PS: additional remarks in the next email. - Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München R