[Ada] Remove 2GB secondary stack limit for 64-bit processors
authorPatrick Bernardi <bernardi@adacore.com>
Fri, 25 May 2018 09:05:28 +0000 (09:05 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 25 May 2018 09:05:28 +0000 (09:05 +0000)
commit38806cd3da0ec930cef1c80934a3aa9afc2c90c5
tree58895590798a0894a31c11c8175435f3c3ba32bf
parent17dd35f448a689e51e8cd17138c6e942a343f894
[Ada] Remove 2GB secondary stack limit for 64-bit processors

This patch removes the restriction introduced recently that limited the size
of the secondary stack to 2GB. The size of the secondary stack is now limited
to half of the size of the memory address space for the target.

2018-05-25  Patrick Bernardi  <bernardi@adacore.com>

gcc/ada/

* libgnat/s-parame.ads, libgnat/s-parame__vxworks.ads,
libgnat/s-parame__ae653.ads, libgnat/s-parame__hpux.ads (Size_Type):
Expand range of type to match the address space of the target.
(Task_Storage_Size): Remove unused type.

gcc/testsuite/

* gnat.dg/sec_stack1.adb: New testcase.

From-SVN: r260742
gcc/ada/ChangeLog
gcc/ada/libgnat/s-parame.ads
gcc/ada/libgnat/s-parame__ae653.ads
gcc/ada/libgnat/s-parame__hpux.ads
gcc/ada/libgnat/s-parame__vxworks.ads
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/sec_stack1.adb [new file with mode: 0644]