diff mbox series

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

Message ID 20201012083343.GA32532@delia
State New
Headers show
Series [committed,nvptx] Fix -msoft-stack-reserve-local format | expand

Commit Message

Tom de Vries Oct. 12, 2020, 8:33 a.m. UTC
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 mbox series

Patch

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.