public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/105096] New: --target-help not an alias for --help=target
@ 2022-03-29 10:18 vries at gcc dot gnu.org
  2022-03-29 11:15 ` [Bug driver/105096] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2022-03-29 10:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105096

            Bug ID: 105096
           Summary: --target-help not an alias for --help=target
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

In common.opt, we read:
...
-target-help
Common Driver
Alias for --help=target.
...

But that doesn't seem to be correct, I get different results.

For instance, for nvptx target, we have an malias that atm is undocumented, and
we have:
...
$ cc1 --target-help 2>&1 | grep malias
$
...
and:
...
$ cc1 --help=target 2>&1 | grep malias
  -malias                               [disabled]
$...

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

* [Bug driver/105096] --target-help not an alias for --help=target
  2022-03-29 10:18 [Bug driver/105096] New: --target-help not an alias for --help=target vries at gcc dot gnu.org
@ 2022-03-29 11:15 ` marxin at gcc dot gnu.org
  2022-04-06 15:38 ` cvs-commit at gcc dot gnu.org
  2022-04-06 15:41 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-29 11:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105096

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-03-29
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
You are right, I can take a look.

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

* [Bug driver/105096] --target-help not an alias for --help=target
  2022-03-29 10:18 [Bug driver/105096] New: --target-help not an alias for --help=target vries at gcc dot gnu.org
  2022-03-29 11:15 ` [Bug driver/105096] " marxin at gcc dot gnu.org
@ 2022-04-06 15:38 ` cvs-commit at gcc dot gnu.org
  2022-04-06 15:41 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-06 15:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105096

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:717b2d4191e80dc8aae3847675de73ed3f611fb7

commit r12-8026-g717b2d4191e80dc8aae3847675de73ed3f611fb7
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Mar 31 08:45:58 2022 +0200

    --target-help: align with --help=target

            PR driver/105096

    gcc/ChangeLog:

            * common.opt: Document properly based on what it does.
            * gcc.cc (display_help): Unify with what we have in common.opt.
            * opts.cc (common_handle_option): Do not print undocumented
            options.

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

* [Bug driver/105096] --target-help not an alias for --help=target
  2022-03-29 10:18 [Bug driver/105096] New: --target-help not an alias for --help=target vries at gcc dot gnu.org
  2022-03-29 11:15 ` [Bug driver/105096] " marxin at gcc dot gnu.org
  2022-04-06 15:38 ` cvs-commit at gcc dot gnu.org
@ 2022-04-06 15:41 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-04-06 15:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105096

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on master, not planning to do a backport.

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

end of thread, other threads:[~2022-04-06 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 10:18 [Bug driver/105096] New: --target-help not an alias for --help=target vries at gcc dot gnu.org
2022-03-29 11:15 ` [Bug driver/105096] " marxin at gcc dot gnu.org
2022-04-06 15:38 ` cvs-commit at gcc dot gnu.org
2022-04-06 15:41 ` marxin at gcc dot gnu.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).