aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-22 01:03:11 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-22 01:03:11 +0000
commit62f9f30bfbd23c0e7ca832e40cbad4092789e8dd (patch)
treecaef8679017f122961809268806166d9b3586a86 /gcc/defaults.h
parent47d30549f5d8a59f95202a0ddebf281d98230528 (diff)
downloadgcc-62f9f30bfbd23c0e7ca832e40cbad4092789e8dd.zip
gcc-62f9f30bfbd23c0e7ca832e40cbad4092789e8dd.tar.gz
gcc-62f9f30bfbd23c0e7ca832e40cbad4092789e8dd.tar.bz2
always define STACK_GROWS_DOWNWARD
gcc/c-family/ChangeLog: 2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * c-cppbuiltin.c (c_cpp_builtins): Check the value of STACK_GROWS_DOWNWARD rather than if it is defined. gcc/ChangeLog: 2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * *.c: Check the value of STACK_GROWS_DOWNWARD rather than if it is defined. * config/**/*.h: Define STACK_GROWS_DOWNWARD to an integer. * defaults.h: Provide default for STACK_GROWS_DOWNWARD. * doc/tm.texi.in: Update references to STACK_GROWS_DOWNWARD. * doc/tm.texi: Regenerate. From-SVN: r223513
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index b3edcc9..a01969a 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1229,6 +1229,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define ARGS_GROW_DOWNWARD 0
#endif
+#ifndef STACK_GROWS_DOWNWARD
+#define STACK_GROWS_DOWNWARD 0
+#endif
+
#ifdef GCC_INSN_FLAGS_H
/* Dependent default target macro definitions