[committed][nvptx] Fix -msoft-stack-reserve-local format

Tom de Vries tdevries@suse.de
Mon Oct 12 08:33:45 GMT 2020


Hi,

Currently, in order to use the switch -msoft-stack-reserve-local with the
default arg 128, you have to specify '-msoft-stack-reserve-local128'.

Fix the switch format such that you specify '-msoft-stack-reserve-local=128'
instead.

Tested on nvptx.

Committed to trunk.

Thanks,
- Tom

[nvptx] Fix -msoft-stack-reserve-local format

gcc/ChangeLog:

2020-10-12  Tom de Vries  <tdevries@suse.de>

	* config/nvptx/nvptx.opt (-msoft-stack-reserve-local): Rename to ...
	(-msoft-stack-reserve-local=): ... this.

---
 gcc/config/nvptx/nvptx.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt
index d6910a96cf0..38454222d42 100644
--- a/gcc/config/nvptx/nvptx.opt
+++ b/gcc/config/nvptx/nvptx.opt
@@ -37,7 +37,7 @@ msoft-stack
 Target Report Mask(SOFT_STACK)
 Use custom stacks instead of local memory for automatic storage.
 
-msoft-stack-reserve-local
+msoft-stack-reserve-local=
 Target Report Joined RejectNegative UInteger Var(nvptx_softstack_size) Init(128)
 Specify size of .local memory used for stack when the exact amount is not known.
 


More information about the Gcc-patches mailing list