[D] Don't predefine GNU_StackGrowsDown on every target.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 20 Jan 2019 18:53:13 +0000 (18:53 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sun, 20 Jan 2019 18:53:13 +0000 (18:53 +0000)
commit49686677ed7aa84d05b0c5db8eb28f06ebb5e529
treed1c13df0bab1e5eb252e3e3bac4ed1105c3c1c3a
parent5e2a72419968999fe9d88c4ea1bd7523a3bfff65
[D] Don't predefine GNU_StackGrowsDown on every target.

Every back-end defines STACK_GROWS_DOWNWARD, the condition should
instead be  checking whether it was defined as 1 or 0.

gcc/d/ChangeLog:

2019-01-20  Iain Buclaw  <ibuclaw@gdcproject.org>

* d-builtins.cc (d_init_versions): Check value of
STACK_GROWS_DOWNWARD.

From-SVN: r268106
gcc/d/ChangeLog
gcc/d/d-builtins.cc