summaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-12-15 11:30:56 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-12-15 11:30:56 +0000
commitf5b39f907f7a2d53a9506fdeafb99078315531eb (patch)
treed3a60c3ccd8e9a20607fe169c396e18e46ae37a2 /gcc/ggc-page.c
parent25ea36594733d8f13be3f0982c9bfe58f51c6319 (diff)
re PR target/66488 (segfault on sizeof(long) < sizeof(void*) and large GCC memory usage)
2017-12-15 Eric Botcazou <ebotcazou@adacore.com> PR target/66488 * ggc-page.c (HOST_BITS_PER_PTR): Do not define here... * hwint.h (HOST_BITS_PER_PTR): ...but here instead. * config/i386/xm-mingw32.h (HOST_BITS_PER_PTR): Delete. From-SVN: r255687
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 5f79e32ded4..854d310e0ba 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -92,11 +92,6 @@ along with GCC; see the file COPYING3. If not see
4: Object marks as well. */
#define GGC_DEBUG_LEVEL (0)
-#ifndef HOST_BITS_PER_PTR
-#define HOST_BITS_PER_PTR HOST_BITS_PER_LONG
-#endif
-
-
/* A two-level tree is used to look up the page-entry for a given
pointer. Two chunks of the pointer's bits are extracted to index
the first and second levels of the tree, as follows: