From: Tom de Vries Date: Tue, 29 Mar 2022 12:24:41 +0000 (+0200) Subject: [nvptx] Update help text for m64 X-Git-Tag: basepoints/gcc-13~421 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1625e893cca658a8df3dea50189c932a7025e223;p=thirdparty%2Fgcc.git [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 * config/nvptx/nvptx.opt (m64): Update help text to reflect that it is ignored. --- diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt index 58eddeeabf42..55a10572dd19 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