aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-10-12 10:14:13 +0200
committerTom de Vries <tdevries@suse.de>2020-10-12 10:32:43 +0200
commit63ad60026e8cf4ccd7543175b38db46160517be7 (patch)
treee6e07e962c37041f1cfddb01bb7934bdd6ca56ef
parent5b2cc633794f6e1f882d46bdefe267401d33285e (diff)
downloadgcc-63ad60026e8cf4ccd7543175b38db46160517be7.zip
gcc-63ad60026e8cf4ccd7543175b38db46160517be7.tar.gz
gcc-63ad60026e8cf4ccd7543175b38db46160517be7.tar.bz2
[nvptx] Fix -msoft-stack-reserve-local format
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. 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.
-rw-r--r--gcc/config/nvptx/nvptx.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt
index d6910a9..3845422 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.