aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmatch.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-11-12 10:12:47 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-11-12 10:12:47 +0000
commite7d1000cd7501d3dcacda0ef9f6dfb0b4a0729f5 (patch)
tree759158cc2db25b2f9f7c5de3e033c22f29735c89 /gcc/genmatch.c
parentf351abd67980aced3a656bb5cc639eda1482439f (diff)
downloadgcc-e7d1000cd7501d3dcacda0ef9f6dfb0b4a0729f5.zip
gcc-e7d1000cd7501d3dcacda0ef9f6dfb0b4a0729f5.tar.gz
gcc-e7d1000cd7501d3dcacda0ef9f6dfb0b4a0729f5.tar.bz2
re PR middle-end/63819 (Cannot build compiler with --enable-gather-detailed-mem-stats (error: default argument given for parameter 5 of ‘void* ggc_internal_cleared_alloc))
2014-11-12 Richard Biener <rguenther@suse.de> 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
Diffstat (limited to 'gcc/genmatch.c')
-rw-r--r--gcc/genmatch.c3
1 files changed, 1 insertions, 2 deletions
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;
}