]> git.ipfire.org Git - thirdparty/gcc.git/commit
[nvptx] Update help text for m64
authorTom de Vries <tdevries@suse.de>
Tue, 29 Mar 2022 12:24:41 +0000 (14:24 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 29 Mar 2022 12:35:44 +0000 (14:35 +0200)
commit1625e893cca658a8df3dea50189c932a7025e223
treeccea4e2a002b8e5b489c0745aac78de6fc26830c
parentde0ef04419e90eacf0d1ddb265552a1b08c18d4b
[nvptx] Update help text for m64

In the docs we have for m64:
...
Ignored, but preserved for backward compatibility.  Only 64-bit ABI is
supported.
...

But with --target-help, we have instead:
...
$ gcc --target-help
  ...
  -m64    Generate code for a 64-bit ABI.
...
which could be interpreted as meaning that generating code for a 32-bit ABI is
still possible.

Fix this by instead emitting the same text as in the docs:
...
  -m64    Ignored, but preserved for backward compatibility.  Only 64-bit
          ABI is supported.
...

Tested on nvptx.

gcc/ChangeLog:

2022-03-29  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.opt (m64): Update help text to reflect that it
is ignored.
gcc/config/nvptx/nvptx.opt