From e7d1000cd7501d3dcacda0ef9f6dfb0b4a0729f5 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 12 Nov 2014 10:12:47 +0000 Subject: =?UTF-8?q?re=20PR=20middle-end/63819=20(Cannot=20build=20compiler?= =?UTF-8?q?=20with=20--enable-gather-detailed-mem-stats=20(error:=20defaul?= =?UTF-8?q?t=20argument=20given=20for=20parameter=205=20of=20=E2=80=98void?= =?UTF-8?q?*=20ggc=5Finternal=5Fcleared=5Falloc))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2014-11-12 Richard Biener PR bootstrap/63819 * hash-table.h: Include ggc.h also for generator programs. * genmatch.c (ggc_internal_cleared_alloc): Properly define using MEM_STAT_DECL instead of CXX_MEM_STAT_INFO. From-SVN: r217410 --- gcc/genmatch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/genmatch.c') diff --git a/gcc/genmatch.c b/gcc/genmatch.c index 723de19..234b1a7 100644 --- a/gcc/genmatch.c +++ b/gcc/genmatch.c @@ -37,8 +37,7 @@ along with GCC; see the file COPYING3. If not see /* Stubs for GGC referenced through instantiations triggered by hash-map. */ void *ggc_internal_cleared_alloc (size_t, void (*)(void *), - size_t, size_t - CXX_MEM_STAT_INFO) + size_t, size_t MEM_STAT_DECL) { return NULL; } -- cgit v1.1