public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7892] [nvptx] Update help text for m64
@ 2022-03-29 12:36 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-03-29 12:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1625e893cca658a8df3dea50189c932a7025e223

commit r12-7892-g1625e893cca658a8df3dea50189c932a7025e223
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Mar 29 14:24:41 2022 +0200

    [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.

Diff:
---
 gcc/config/nvptx/nvptx.opt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt
index 58eddeeabf4..55a10572dd1 100644
--- a/gcc/config/nvptx/nvptx.opt
+++ b/gcc/config/nvptx/nvptx.opt
@@ -25,7 +25,8 @@
 
 m64
 Target RejectNegative Mask(ABI64)
-Generate code for a 64-bit ABI.
+Ignored, but preserved for backward compatibility.  Only 64-bit ABI is
+supported.
 
 mmainkernel
 Target RejectNegative


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-29 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 12:36 [gcc r12-7892] [nvptx] Update help text for m64 Tom de Vries

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).