aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-22 01:03:42 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-22 01:03:42 +0000
commit581edfa33d5b78fef85442b3135521ada320070d (patch)
tree630391313f613c55a9c731eebd34c669d6065b62 /gcc/c-family/c-cppbuiltin.c
parent62f9f30bfbd23c0e7ca832e40cbad4092789e8dd (diff)
downloadgcc-581edfa33d5b78fef85442b3135521ada320070d.zip
gcc-581edfa33d5b78fef85442b3135521ada320070d.tar.gz
gcc-581edfa33d5b78fef85442b3135521ada320070d.tar.bz2
remove most ifdef STACK_GROWS_DOWNWARD
gcc/c-family/ChangeLog: 2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * c-cppbuiltin.c (c_cpp_builtins): Use if instead of #if with STACK_GROWS_DOWNWARD. gcc/ChangeLog: 2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * builtins.c, dwarf2cfi.c, explow.c, expr.c, recog.c, sched-deps.c: Use if instead of preprocessor checks with STACK_GROWS_DOWNWARD. From-SVN: r223514
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r--gcc/c-family/c-cppbuiltin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index da9cb2f..4170154 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -1138,9 +1138,8 @@ c_cpp_builtins (cpp_reader *pfile)
TRAMPOLINE_SIZE);
/* For libgcc generic-morestack.c and unwinder code. */
-#if STACK_GROWS_DOWNWARD
- cpp_define (pfile, "__LIBGCC_STACK_GROWS_DOWNWARD__");
-#endif
+ if (STACK_GROWS_DOWNWARD)
+ cpp_define (pfile, "__LIBGCC_STACK_GROWS_DOWNWARD__");
/* For libgcc unwinder code. */
#ifdef DONT_USE_BUILTIN_SETJMP