aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-spills.c
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/lra-spills.c
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/lra-spills.c')
-rw-r--r--gcc/lra-spills.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/lra-spills.c b/gcc/lra-spills.c
index ed678d5..19ece20 100644
--- a/gcc/lra-spills.c
+++ b/gcc/lra-spills.c
@@ -230,14 +230,6 @@ regno_freq_compare (const void *v1p, const void *v2p)
return regno1 - regno2;
}
-/* Redefine STACK_GROWS_DOWNWARD in terms of 0 or 1. */
-#ifdef STACK_GROWS_DOWNWARD
-# undef STACK_GROWS_DOWNWARD
-# define STACK_GROWS_DOWNWARD 1
-#else
-# define STACK_GROWS_DOWNWARD 0
-#endif
-
/* Sort pseudos according to their slots, putting the slots in the order
that they should be allocated. Slots with lower numbers have the highest
priority and should get the smallest displacement from the stack or