diff options
author | Patrick Bernardi <bernardi@adacore.com> | 2018-05-25 09:04:27 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-05-25 09:04:27 +0000 |
commit | 733a4a3dbc7873df5749f70a1563ea816efe7146 (patch) | |
tree | 4701ab999617b18df8a587405db4ff39ec6bed14 /gcc | |
parent | 8ad3525a59dbd07a76b8a53e56f0a3509d905017 (diff) | |
download | gcc-733a4a3dbc7873df5749f70a1563ea816efe7146.zip gcc-733a4a3dbc7873df5749f70a1563ea816efe7146.tar.gz gcc-733a4a3dbc7873df5749f70a1563ea816efe7146.tar.bz2 |
[Ada] Disable the creation of the main task secondary stack by the binder
Users can now specify that the binder should not create a secondary stack for
the main (environment) task through the binder switch -Q0. This is useful for
ZFP runtime users who allocate secondary stacks for their application
themselves.
2018-05-25 Patrick Bernardi <bernardi@adacore.com>
gcc/ada/
* switch-b.adb (Scan_Binder_Switches): binder switch -Q accepts Natural
numbers.
From-SVN: r260731
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/switch-b.adb | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index d1cf7a9..f3a0f38 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-05-25 Patrick Bernardi <bernardi@adacore.com> + + * switch-b.adb (Scan_Binder_Switches): binder switch -Q accepts Natural + numbers. + 2018-05-25 Doug Rupp <rupp@adacore.com> * tracebak.c (aarch64-linux): Implement. diff --git a/gcc/ada/switch-b.adb b/gcc/ada/switch-b.adb index 68183d5..7649de3 100644 --- a/gcc/ada/switch-b.adb +++ b/gcc/ada/switch-b.adb @@ -399,7 +399,7 @@ package body Switch.B is end if; Ptr := Ptr + 1; - Scan_Pos + Scan_Nat (Switch_Chars, Max, Ptr, Quantity_Of_Default_Size_Sec_Stacks, C); |